1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 09:55:33 +02:00

MDL-14091, fix myMoodle courses list sort order, Thanks Iñaki

This commit is contained in:
dongsheng 2008-04-09 02:46:55 +00:00
parent c0e469829e
commit 0a5a575579

@ -65,7 +65,7 @@
/// The main overview in the middle of the page
// limits the number of courses showing up
$courses = get_my_courses($USER->id, null, '*', false, 21);
$courses = get_my_courses($USER->id, 'visible DESC,sortorder ASC', '*', false, 21);
$site = get_site();
$course = $site; //just in case we need the old global $course hack