Re: Problem with survey code - Mailing list pgsql-www

From Stefan Kaltenbrunner
Subject Re: Problem with survey code
Date
Msg-id 471EEB94.6060705@kaltenbrunner.cc
Whole thread Raw
In response to Re: Problem with survey code  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-www
Robert Treat wrote:
> On Tuesday 23 October 2007 16:09, Stefan Kaltenbrunner wrote:
>> Josh Berkus wrote:
>>> Team,
>>>
>>> Low priority issue:
>>>
>>> When one adds a new survey to wwwmaster, it gets added to the Survey
>>> History whether it is activated or not.  As a result, we now have a bunch
>>> of 0 results surveys already in the history:
>>>
>>> http://www.postgresql.org/community/survey.49
>>> http://www.postgresql.org/community/survey.52
>>>
>>> These will get results once we rotate them into the limelight, but it's a
>>> little disconcerting right now.
>> hmm - just commited a small change to exclude all the ones that have
>> zero results  in them - should go live on the next sidebuild.
>>
> 
> This means to activate a survey you have to vote in it, right? 

this means that a survey needs to have at least one vote to show up in
the "Other surveys" listing.
Afaiks there is no real "this survey is actived" flag/indication in the
code - only "this is the survey that is running now" so looking at the
number of votes is the only hint we can use for generating a list of
"surveys that ran in the past".


Stefan


pgsql-www by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Training events policy ... first test case
Next
From: Josh Berkus
Date:
Subject: Re: Training events policy ... first test case