-
Bug
-
Resolution: Fixed
-
Major
-
2.4.3
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MDL-40086-master -
Testing instructions
1. Create a new Folder
2. Type anything for the name
3. In Files, click 'Create Folder' and create a folder called 3. Repeat to create a folder called 1, and then another called 2. (The order is important!)
4. Click into folder 1.
5. Repeat step 3 to create subfolders (first 3, then 1, then 2).
6. Save and display
EXPECTED: The folders should display in order (first top-level folder 1, then subfolders 1, 2, 3, then outer folders 2 and 3).
ACTUAL: The top level folders are sorted correctly, but subfolders are returned in a different order (which might be a bit random depending on database ordering, but in my testing, it was 3, 1, 2).
Tested just now on qa.moodle.net as well as in OU Moodle 2.4.3. Our users say this problem only appeared after moving to 2.4, but we don't know if that is due to a database reindex or something.