Skip to content

Commit

Permalink
MDL-14091, fix myMoodle courses list sort order, Thanks Iñaki
Browse files Browse the repository at this point in the history
  • Loading branch information
dongsheng committed Apr 9, 2008
1 parent c0e4698 commit 0a5a575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0a5a575

Please sign in to comment.