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

Observe show_expanded setting when displaying folder inline

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Resource
    • Labels:
      None
    • Testing Instructions:
      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!
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13