From: dongsheng Date: Wed, 9 Apr 2008 02:46:55 +0000 (+0000) Subject: MDL-14091, fix myMoodle courses list sort order, Thanks Iñaki X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0a5a5755798dd7022693e2d6c1b10f3b298a7a3f;p=moodle.git MDL-14091, fix myMoodle courses list sort order, Thanks Iñaki --- diff --git a/my/index.php b/my/index.php index 9547558ccf..449a9541e6 100644 --- a/my/index.php +++ b/my/index.php @@ -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