Invisible courses get put last on the My Courses listing

This commit is contained in:
moodler
2003-09-03 08:10:02 +00:00
parent 2962233937
commit 5b6a1dd3ad
+1 -1
View File
@@ -1190,7 +1190,7 @@ function get_courses_page($categoryid="all", $sort="c.sortorder ASC", $fields="c
}
function get_my_courses($userid, $sort="fullname ASC") {
function get_my_courses($userid, $sort="visible DESC,fullname ASC") {
global $CFG;