Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14589 META: Develop new File API
  3. MDL-22583

When displaying a file tree in browse mode, ignore empty folders

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0
    • 2.0
    • Files API
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      As discussed last Friday (http://moodle.org/mod/cvsadmin/view.php?conversationid=4890#c199940):

      When displaying a folder of files in a read-only mode

      • in server files repository plugin
      • in the new folder renderer MDL-22582

      then don't display empty directories at all. This check needs to work recursively, so that even a folder that contains an empty folder won't be displayed.

      We decided not to implement this in the File API, but just do it in the renderers and repository plugin.

            dongsheng Dongsheng Cai
            dougiamas Martin Dougiamas
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.