Moodle

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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.

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Assigning to SC. Thanks Iñaki!

Show
Eloy Lafuente (stronk7) added a comment - Assigning to SC. Thanks Iñaki!
Hide
Petr Škoda (skodak) added a comment -

verified closing, thanks

Show
Petr Škoda (skodak) added a comment - verified closing, thanks

People

Dates

  • Created:
    Updated:
    Resolved: