From 0a5a5755798dd7022693e2d6c1b10f3b298a7a3f Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 9 Apr 2008 02:46:55 +0000 Subject: [PATCH] =?utf8?q?MDL-14091,=20fix=20myMoodle=20courses=20list=20s?= =?utf8?q?ort=20order,=20Thanks=20I=C3=B1aki?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- my/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5