-
Bug
-
Resolution: Fixed
-
Critical
-
2.4.3
-
None
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
wip-
MDL-38631-master -
In the moodle navigation is an area for "my courses" where you normally see only the courses you are enroled in.
If you set navshowmycoursecategories in Site Administration --> Appearance --> Navigation to "off", you receive a flat list of your enroled courses (as expected).
If you set navshowmycoursecategories to "on", you receive ALL courses and ALL course categories of the system, however depending on the variable navcourselimit.
Replication steps:
This requires a site with multiple courses in more than one category. There should be a student enrolled in one or more of the courses, but not all.
- Log in as a student in one browser.
- Click on Navigation > Home > My courses
- Note the courses shown
- Log in as an admin in another browser
- Navigate to Site Administration > Appearance > Navigation
- Check "Show my course categories" (navshowmycoursecategories)
- Save settings
- Go to student browser
- Refresh
- Click on Navigation > Home > My courses
Expected result: only enrolled courses should be shown
Actual result: all courses and categories are shown
- Discovered while testing
-
MDL-40297 Empty Categories in My Courses are always shown.
- Closed
- duplicates
-
MDL-37329 navshowmycoursecategories doesn't work as expected
- Closed
- has been marked as being related by
-
MDL-38684 $CFG->navshowcategories is ignored when browsing category
- Closed
- will help resolve
-
MDL-39014 navshowmycoursecategories doesn't work as expected
- Closed