From: mjollnir_ Date: Mon, 22 Nov 2004 21:30:26 +0000 (+0000) Subject: Merged from MOODLE_14_STABLE: Fix for bug #2207 - sortorder now honored in front... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6a6f25af85baee5c550680b2506df7df72db3a86;p=moodle.git Merged from MOODLE_14_STABLE: Fix for bug #2207 - sortorder now honored in front page listing --- diff --git a/course/lib.php b/course/lib.php index a0b14a166e..a329adda0d 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1149,7 +1149,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 "";