Permalink
Browse files

Invisible courses get put last on the My Courses listing

  • Loading branch information...
1 parent 2962233 commit 5b6a1dd3ad89f5f4475a871aea6aba7c8d7a6936 moodler committed Sep 3, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
@@ -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;

0 comments on commit 5b6a1dd

Please sign in to comment.