← Back to team overview

mahara-contributors team mailing list archive

[Bug 1991339] Re: Displaying folder block subfolder in modal doesn't respect "Sort order of files " option

 

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


** Changed in: mahara
    Milestone: None => 22.10.0

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1991339

Title:
  Displaying folder block subfolder in modal doesn't respect "Sort order
  of files " option

Status in Mahara:
  In Progress

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_details_in_modal() function so we
  can find/use the sort order setting

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1991339/+subscriptions



References