Browse Source

Merge pull request #1583 from jloguercio/1.11.x

Fix complete report votes order (1.11.x)
José Loguercio 8 years ago
parent
commit
69878b1fcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/survey/survey.lib.php

+ 1 - 1
main/survey/survey.lib.php

@@ -2671,7 +2671,7 @@ class SurveyUtil
                 WHERE
                     c_id = $course_id AND
                     survey_id='".$surveyId."'
-                ORDER BY user ASC";
+                ORDER BY answer_id, user ASC";
         $result = Database::query($sql);
         $i = 1;
         while ($row = Database::fetch_array($result)) {