mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-60632 mod_quiz: Fix chart rendering fail in quiz report
If a quiz activity has negative grading enabled for incorrect answers, students can achieve overall negative grades in this quiz. If at least one student achieves a negative grade, the chart at the bottom of the quiz 'Results' tab will fail to display. This patch add a search for negative results, removes them from the band below 0 and adds them to the 0 band. This will make the chart render correctly again. Co-authored-by: Susana Leitão <sleitao@uporto.pt> Co-authored-by: Matthias Opitz <m.opitz@ucl.ac.uk> Removed whitespace at end of lines
- Loading branch information
1 parent
abba174
commit 78e3edf
Showing
2 changed files
with
41 additions
and
0 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