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

Grade items in hidden grade category can still be shown

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.9
    • 2.0
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • MOODLE_20_STABLE

    Description

      In the course grade tree, the grade items within hidden grade categories can still be shown by clicking "hide/show" action button. I guess it's not a deliberate functionality, so the attached patch fixes it: the set_hidden function of grade_item class will now be checking if parent directory is hidden first, and if it is, function returns.
      Patch is applied with -p0 key.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              argentum Vlas Voloshin
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10