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

My courses in Boost flat navigation not ordered by name even when they should

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_34_STABLE

      Description

      This issue was discovered while pre-testing MDL-57564 and also noticed by Martin Dougiamas as affecting one of our HQ internal sites. I was originally trying to cover it in MDL-57564 but haven't find a trivial way to do it.

      Steps to reproduce

      1. Set $CFG->navsortmycoursessort = 'shortname';
      2. Set $CFG->navshowmycoursecategories = 1;
      3. Prepare a structure of course categories with subcategories
      4. Put courses into these categories, named randomly
      5. Enrol a student into all these courses
      6. Log in as that student
      7. In the Clean theme, the My courses will be displayed as a tree of categories - with courses within each category sorted per the configured field (such as shortname).
      8. But in the Boost's flat navigation, the categories are not displayed. So only the courses are projected into the flat navigation.
      • Expected behaviour: The courses should be still displayed ordered by shortname even in Boost
      • Actual behaviour: The courses are displayed in the order given by the categories tree

      The problem is illustrated in the following screenshots that show the same site in both themes:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mudrd8mz David Mudrák (@mudrd8mz)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: