Moodle

Grade items in hidden grade category can still be shown

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

Grade hiding will be significantly improved in 2.0. Resolving as duplicate, you can track progress in the linked bug.

thanks for the report and patches.

Show
Petr Škoda (skodak) added a comment - Grade hiding will be significantly improved in 2.0. Resolving as duplicate, you can track progress in the linked bug. thanks for the report and patches.

People

Vote (3)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: