From 1cc1fdcd6fb8da5635375b3669be8e2bc22a9387 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Mon, 22 Nov 2004 21:29:41 +0000 Subject: [PATCH] Fix for bug #2207 - sortorder now honored in front page listing --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/lib.php b/course/lib.php index 49fc498e79d..a38d4bc1e5c 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1139,7 +1139,7 @@ function print_category_info($category, $depth) { echo "\n\n"; if ($CFG->frontpage == FRONTPAGECOURSELIST) { - $courses = get_courses($category->id, NULL, 'c.id,c.sortorder,c.visible,c.fullname,c.shortname,c.password,c.summary'); + $courses = get_courses($category->id, 'c.sortorder ASC', 'c.id,c.sortorder,c.visible,c.fullname,c.shortname,c.password,c.summary'); echo "";