MDL-30704 quiz_overview: fixup, add missing rescaling.
Thanks Micheal de Raadt for catching this in testing.
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
1b5afe64c4
commit
0f97c8afdb
@@ -81,6 +81,7 @@ class quiz_report_overview_table extends quiz_attempt_report_table {
|
||||
SELECT AVG(quiza.sumgrades) AS grade, COUNT(quiza.sumgrades) AS numaveraged
|
||||
FROM $from
|
||||
WHERE $where", $params);
|
||||
$record->grade = quiz_rescale_grade($record->grade, $this->quiz);
|
||||
|
||||
if ($this->is_downloading()) {
|
||||
$namekey = 'lastname';
|
||||
|
||||
Reference in New Issue
Block a user