Merge branch 'wip-mdl-55476' of https://github.com/rajeshtaneja/moodle
authorDan Poltawski <dan@moodle.com>
Tue, 14 Feb 2017 08:40:07 +0000 (08:40 +0000)
committerDan Poltawski <dan@moodle.com>
Tue, 14 Feb 2017 08:40:07 +0000 (08:40 +0000)
mod/assign/gradingtable.php

index 6e77299..0d605c3 100644 (file)
@@ -302,6 +302,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;
                     }
                 }
             }