Merged from MOODLE_14_STABLE: Fix for bug #2207 - sortorder now honored in front page listing

This commit is contained in:
mjollnir_
2004-11-22 21:30:26 +00:00
parent 387d8632f1
commit 6a6f25af85
+1 -1
View File
@@ -1149,7 +1149,7 @@ function print_category_info($category, $depth) {
echo "\n\n".'<table border="0" cellpadding="3" cellspacing="0" width="100%">';
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 "<tr>";