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

Grade items in hidden grade category can still be shown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              argentum Vlas Voloshin
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10