From 643e83fd6083e147987d063864f38a82eeef8cec Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 9 Apr 2008 02:45:33 +0000 Subject: [PATCH] =?UTF-8?q?MDL-14091,=20fix=20myMoodle=20courses=20list=20?= =?UTF-8?q?sort=20order,=20Thanks=20I=C3=B1aki?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 481c8b2a1ff..52a99583641 100644 --- a/my/index.php +++ b/my/index.php @@ -62,7 +62,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