mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
MDL-14091, fix myMoodle courses list sort order, Thanks Iñaki
This commit is contained in:
parent
50ea3cc486
commit
643e83fd60
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
||||||
/// The main overview in the middle of the page
|
/// The main overview in the middle of the page
|
||||||
|
|
||||||
// limits the number of courses showing up
|
// 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();
|
$site = get_site();
|
||||||
$course = $site; //just in case we need the old global $course hack
|
$course = $site; //just in case we need the old global $course hack
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue