Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60312

All courses loaded in navigation when navshowallcourses off

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 3.2.5, 3.3.2
    • Navigation
    • None
    • MOODLE_32_STABLE, MOODLE_33_STABLE

    Description

      Under certain circumstances all categories and courses are displayed in the navigation block even if "Show all courses" is explicitly disabled.

      To reproduce (on a server with a lot of categories and courses, and the navigation block displayed in all courses):

      • Switch navshowallcourses off
      • Switch navshowcategories on
      • As a user with access to courses they are not enrolled on (e.g. admin) enter one of those courses
      • Observe that the "courses" node on the navigation includes not only the current course, but also a large number of other categories and courses

      In this case, I would expect only the current course to be displayed under the "courses" node (maybe nested inside its category).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maherne Michael Aherne
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.