diff --git a/my/index.php b/my/index.php index 481c8b2..52a9958 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