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

Description for "Show all courses" navigation setting needs to be updated

XMLWordPrintable

    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-28965-master
    • Hide

      Set "Course limit" to a number greater than the number of courses in your Moodle instance, and all the courses will always be listed.

      Show
      Set "Course limit" to a number greater than the number of courses in your Moodle instance, and all the courses will always be listed.
      1. search for "Show all courses" setting
      2. make sure you see an updated description for the setting saying it is limited by "navcourselimit"

      Under "Site administration > Appearance > Navigation" there is an admin setting $CFG->navshowallcourses, labeled "Show all courses". Its help text reads "Setting this ensures that all courses on the site are shown in the navigation at all times."

      However, if you activate this setting, it still limits the number of courses shown in the Navigation block to the number set in the "Course limit" field, $CFG->navcourselimit.

      The help text for $CFG->navshowallcourses suggests that if it's ticked, you should see all the courses all the time, effectively overriding $CFG->navcourselimit. We should implement that, or alternately, update the help text so that it more accurately describes what $CFG->navshowallcourses is supposed to be doing.

      Replication instructions:
      1. Create a Moodle instance with 10 courses in it
      2. Go to "Site Administration > Appearance > Navigation".
      3. Tick the box for "Show all courses"
      4. Set "Course limit" to 5.
      5. Enter a course and look at the Navigation block

      Actual result: You will see only 5 courses listed in the Navigation block

            ankit_frenz Ankit Agarwal
            aaronw Aaron Wells (Inactive)
            Rossiani Wijaya Rossiani Wijaya
            Aparup Banerjee Aparup Banerjee
            Rajesh Taneja Rajesh Taneja
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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