Permalink
Browse files

Fixed dis-ordered displaying for quiz overview report when no soring …

…is specified
  • Loading branch information...
patrickslee
patrickslee committed Oct 28, 2005
1 parent e89b542 commit 5ec4333086ab702946baed3ea319dd9ece09585b
Showing with 5 additions and 0 deletions.
  1. +5 −0 mod/quiz/report/overview/report.php
@@ -315,6 +315,11 @@ function display($quiz, $cm, $course) { /// This function just displays the
$sort = ' ORDER BY '.implode(', ', $newsort);
}
// Fix some wired sorting
if (empty($sort)) {
$sort = ' ORDER BY uniqueid';
}
// Now it is time to page the data
if (!isset($pagesize) || ((int)$pagesize < 1) ) {
$pagesize = 10;

0 comments on commit 5ec4333

Please sign in to comment.