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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.4, 1.9
    • Fix Version/s: 1.8.4, 1.8.5, 1.9, 1.9.1, 2.0
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jan/08