forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-75719 completion: Fix completion state for hidden grade items.
For hidden grade items we used to mark students as completed if they have any grade. But this was not working correctly when we also set pass grade for activity and completion criteria based on pass grade. So we will have these completion states Competion criteria 'Receive grade': No grade - COMPLETION_INCOMPLETE Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL Grade hidden - COMPLETION_COMPLETE Completion criteris 'Receive passing grade' No grade - COMPLETION_INCOMPLETE Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL Grade hidden, achieved passing grade - COMPLETION_COMPLETE_PASS Grade hidden, failed passing grade - COMPLETION_COMPLETE_FAIL_HIDDEN
- Loading branch information
1 parent
9ee4f8d
commit fbb01b4
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters