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

MDL-10232 broke MyMoodle course list sort order (with patch)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.4, 1.8.5, 1.9, 1.9.1, 2.0
    • 1.8.4, 1.9
    • General
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      MDL-10232 change the call to get_my_courses in order to get all the course fields from the db, but it also removed the sort order criteria from the call (setting it to NULL). This makes the courses appear in creation order (i.e., by internal id), instead of their sort order, like it was before.

      The attached patches fix the issue for MOODLE_18_STABLE, MOODLE_19_STABLE and HEAD.

        1. my-moodle-course-sort-order-18.diff
          0.5 kB
          Iñaki Arenaza
        2. my-moodle-course-sort-order-19.diff
          0.5 kB
          Iñaki Arenaza
        3. my-moodle-course-sort-order-head.diff
          0.5 kB
          Iñaki Arenaza

            dongsheng Dongsheng Cai
            iarenaza Iñaki Arenaza
            Petr Skoda Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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