Displaying folder block subfolder in modal doesn't respect "Sort order of files " option
Bug #1991339 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We used to update the block's content with the render_instance() function but now that we open it in a modal we only call it by artefact id - so lose the block settings for ordering
we need to open it via the render_
Changed in mahara: | |
milestone: | 22.10.0 → 23.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
To test:
Create a folder in files section and in that folder create some sub folders and in one of those sub folders put some files and make some folders
Add a folders block to a page and pick the parent folder and set the sort order to descending
When you view the page you should see the sub folders listed in the sort order you chose
Click on the sub folder that has content:
You should see it's content appear in modal and be ordered correctly