MDL-71610 gradereport_grader: Specify the pagelayout for grader report

This commit is contained in:
Andrew Nicols
2021-10-01 15:15:40 +08:00
parent 1146c69257
commit 4562ea0bd4
+1
View File
@@ -45,6 +45,7 @@ $graderreportsilast = optional_param('silast', null, PARAM_NOTAGS);
$PAGE->set_url(new moodle_url('/grade/report/grader/index.php', array('id'=>$courseid)));
$PAGE->requires->yui_module('moodle-gradereport_grader-gradereporttable', 'Y.M.gradereport_grader.init', null, null, true);
$PAGE->set_pagelayout('report');
// basic access checks
if (!$course = $DB->get_record('course', array('id' => $courseid))) {