Skip to content

Commit

Permalink
Fixed issue #6206: Question re-ordering not reflected in question pic…
Browse files Browse the repository at this point in the history
…ker drop-down
  • Loading branch information
c-schmitz committed Jun 19, 2012
1 parent ecbc746 commit 7d8f0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/common_helper.php
Expand Up @@ -588,7 +588,7 @@ function getQuestions($surveyid,$gid,$selectedqid)
{
$clang = Yii::app()->lang;
$s_lang = Survey::model()->findByPk($surveyid)->language;
$qrows = Questions::model()->findAllByAttributes(array('sid' => $surveyid, 'gid' => $gid, 'language' => $s_lang, 'parent_qid' => 0));
$qrows = Questions::model()->findAllByAttributes(array('sid' => $surveyid, 'gid' => $gid, 'language' => $s_lang, 'parent_qid' => 0),array('order'=>'question_order'));

if (!isset($sQuestionselecter)) {$sQuestionselecter="";}
foreach ($qrows as $qrow)
Expand Down

0 comments on commit 7d8f0cb

Please sign in to comment.