Commit 237aa8c7 authored by Frank Bergmann's avatar Frank Bergmann

- Simple Survey:

  Now ordering surveys in filter list according to frquency of results
parent c72487e1
......@@ -355,9 +355,11 @@ if {"" == $html} {
set survey_options [db_list_of_lists survey_options "
select ss.name,
ss.survey_id
ss.survey_id,
(select count(*) from survsimp_responses where survey_id = ss.survey_id) as response_count
from survsimp_surveys ss
where ss.enabled_p = 't'
order by response_count DESC
"]
#set survey_options [linsert $survey_options 0 [list "" ""]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment