Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38632

Observe show_expanded setting when displaying folder inline

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Resource
    • None
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • Hide

      Create one folder resource with various subfolders and files (up to 3 levels is ok).

      A) Try the four combinations of these 2 settings and verify that in all them the folder is displayed accordingly:

      • Display folder contents (course page / separate page).
      • Show sub-folders expanded (yes / no).

      B) With display in course page selected, try the four combinations of these 2 settings and verify that in all them the folder is displayed accordingly:

      • Display description on course page (yes / no).
      • Show sub-folders expanded (yes / no).

      That's all!

      Show
      Create one folder resource with various subfolders and files (up to 3 levels is ok). A) Try the four combinations of these 2 settings and verify that in all them the folder is displayed accordingly: Display folder contents (course page / separate page). Show sub-folders expanded (yes / no). B) With display in course page selected, try the four combinations of these 2 settings and verify that in all them the folder is displayed accordingly: Display description on course page (yes / no). Show sub-folders expanded (yes / no). That's all!

    Description

      This is a followup of MDL-30790 where a new setting (show_expanded) was added to decide if the folders were going to be shown totally expanded (show_expanded = 1, default) or only 1st level (show_expanded = 0).

      And it's working perfectly but because of the tiny detail of the new setting being completely ignored when the folder is displayed inline in the course page.

      So this is about to make show_expanded to be observed when the folder is shown inline.

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Aparup Banerjee Aparup Banerjee
              Rajesh Taneja Rajesh Taneja
              Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13