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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dongsheng Dongsheng Cai
              dougiamas Martin Dougiamas
              Nobody Nobody
              Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10