Skip to content

Commit

Permalink
Fixed bug: groups of "or"ed conditions were displaying multiple times…
Browse files Browse the repository at this point in the history
…. Removed additional "group by" entries in initial SQL that was causing the repeated processing of groups.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@10985 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Sep 13, 2011
1 parent d11478b commit 8f8428e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/printablesurvey.php
Expand Up @@ -442,7 +442,7 @@ function star_replace($input)
FROM ".db_table_name("conditions")."
WHERE ".db_table_name("conditions").".qid={$deqrow['qid']}
AND ".db_table_name("conditions").".scenario={$scenariorow['scenario']}
group by cqid, method, cfieldname, value
group by cqid, method
ORDER BY cqid";
$distinctresult=db_execute_assoc($distinctquery);
//Loop through each condition for a particular scenario.
Expand Down

0 comments on commit 8f8428e

Please sign in to comment.