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

Grade items in hidden grade category can still be shown

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.