by Dave Balch.
There might be a few other pitfalls to watch out for, e.g.
- Other places linking to the new grader page - specifically the "Grade" links on the grading table.
- Blind marking doesn't work anymore, with all the "grade" links on the grading table linking to just the submission in the first row.
Something like this might be of use:
diff --git a/mod/assign/gradingtable.php b/mod/assign/gradingtable.php
index 7b04c09..4fa79a6 100644
--- a/mod/assign/gradingtable.php
+++ b/mod/assign/gradingtable.php
@@ -850,8 +850,8 @@ class assign_grading_table extends table_sql implements renderable {
if (!$this->is_downloading() && $this->hasgrade) {
$urlparams = array('id' => $this->assignment->get_course_module()->id,
- 'rownum' => 0,
- 'action' => 'grader');
+ 'rownum' => $this->rownum,
+ 'action' => 'grade');
if ($this->assignment->is_blind_marking()) {
if (empty($row->recordid)) {
@@ -1048,7 +1048,7 @@ class assign_grading_table extends table_sql implements renderable {
$urlparams = array('id' => $this->assignment->get_course_module()->id,
'rownum' => 0,
- 'action' => 'grader');
+ 'action' => 'grade');
if ($this->assignment->is_blind_marking()) {
if (empty($row->recordid)) {