Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0.2, 2.1, 2.2, 2.4.5, 2.5.1
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
-
Description
Add additional data to grade item for the purposes of show/hide checking.
It should be possible for a grade item to remain hidden if explicitly hidden (via the show/hide icon or the "hidden until" setting) regardless of the activity's state in the course.
As per discussion http://moodle.org/mod/forum/discuss.php?d=195014
Action | Course Page | Gradebook | Notes |
---|---|---|---|
Create a quiz + show it to students | Quiz activity displayed | Quiz grade item is displayed | This is good! |
Hide the quiz on the main course page | Quiz activity hidden | Quiz grade item is hidden | this is good! |
Show the quiz again | Quiz activity displayed | Quiz grade item is displayed | good again! |
Hide the quiz grade item in the gradebook (without altering the quiz activity) | Quiz activity still displayed | Quiz grade item is hidden | good... |
Hide the quiz activity on the main course page (without altering the quiz grade item) | Quiz is hidden | Quiz grade item is still hidden | this is good too! |
Show the quiz activity on the main course page (without altering the quiz grade item) | Quiz activity now displayed | Quiz grade item now displayed | NOT GOOD! I expect the grade item to remain hidden as set within the gradebook |