MDL-57766 assign: Put back the manual marker filter

I removed too much from gradingtable.php in the last patch.
This commit is contained in:
Damyon Wiese
2017-02-14 10:20:24 +08:00
parent f1fd291473
commit 1494620bfb
+3
View File
@@ -231,6 +231,9 @@ class assign_grading_table extends table_sql implements renderable {
if (!empty($markerfilter)) {
if ($markerfilter == ASSIGN_MARKER_FILTER_NO_MARKER) {
$where .= ' AND (uf.allocatedmarker IS NULL OR uf.allocatedmarker = 0)';
} else {
$where .= ' AND uf.allocatedmarker = :markerid';
$params['markerid'] = $markerfilter;
}
}
}