mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type
This commit is contained in:
parent
9810d8a08c
commit
b9b199beba
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue