mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 22:45:54 +02:00
MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type
This commit is contained in:
parent
9810d8a08c
commit
b9b199beba
@ -728,9 +728,9 @@ class grade_category extends grade_object {
|
||||
continue;
|
||||
}
|
||||
if ($item->gradetype == GRADE_TYPE_VALUE) {
|
||||
$maxes[] = $item->grademax;
|
||||
$maxes[$item->id] = $item->grademax;
|
||||
} else if ($item->gradetype == GRADE_TYPE_SCALE) {
|
||||
$maxes[] = $item->grademax; // 0 = nograde, 1 = first scale item, 2 = second scale item
|
||||
$maxes[$item->id] = $item->grademax; // 0 = nograde, 1 = first scale item, 2 = second scale item
|
||||
}
|
||||
}
|
||||
// apply droplow and keephigh
|
||||
|
Loading…
x
Reference in New Issue
Block a user