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

Nested courses not visible when subcategory is made visible after parent is hidden

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.5, 3.8.2
    • Fix Version/s: None
    • Component/s: Usability
    • Labels:
      None
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE

      Description

      DESCRIPTION
      When hiding a category, the categories/courses underneath are hidden recursively (expected). However, trying to make a nested subcategory (underneath the aforementioned category) visible will only make that particular subcategory visible i.e. all associated categories/courses underneath it will remain hidden.

      This becomes a problem when an admin (or other role with permission to manage courses) hides a higher up category and then wants to selectively make just a few categories/courses visible underneath that. There is no way to make specific categories (and their nested courses) underneath the higher category visible again besides manually clicking the eye next to every single one.

      STEPS TO REPLICATE

      1. Create a new category called 'Category A'
      2. Create new subcategory underneath called 'Category B'
      3. In Category B, create a new course called 'Course 1' (click save and return)
      4. In the Manage courses page, click '+' to expand Category A and Category B
      5. Click the eye next to Category B to hide all courses underneath it - Course 1 is hidden
      6. Click the eye next to Category A to hide all categories underneath it - Course 1 is still hidden
      7. Click the eye next to Category B to unhide all courses underneath it - Course 1 is still hidden
      8. Click the eye next to Category A to unhide all categories/courses underneath it - Course 1 is still hidden

      OBSERVED BEHAVIOR:

      After hiding Category A (and therefore all categories underneath it), Category B is made visible but the course underneath it, Course 1, remains hidden.

      EXPECTED BEHAVIOR:

      When making Category B visible after hiding Category A, Course 1 should also be visible

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            prankin Phillip Rankin
            Participants:
            Component watchers:
            Barbara Ramiro, Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: