Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a802c9
)
MDL-49324 gradereport_singleview: Correct url params supplied to PAGE
author
Andrew Nicols
<andrew@nicols.co.uk>
Fri, 29 Jan 2016 06:02:39 +0000
(14:02 +0800)
committer
Andrew Nicols
<andrew@nicols.co.uk>
Wed, 24 Feb 2016 06:39:08 +0000
(14:39 +0800)
grade/report/singleview/index.php
patch
|
blob
|
blame
|
history
diff --git
a/grade/report/singleview/index.php
b/grade/report/singleview/index.php
index
6485af2
..
9d6ab82
100644
(file)
--- a/
grade/report/singleview/index.php
+++ b/
grade/report/singleview/index.php
@@
-46,7
+46,16
@@
if (empty($itemid)) {
}
$courseparams = array('id' => $courseid);
-$PAGE->set_url(new moodle_url('/grade/report/singleview/index.php', $courseparams));
+$pageparams = array(
+ 'id' => $courseid,
+ 'group' => $groupid,
+ 'userid' => $userid,
+ 'itemid' => $itemid,
+ 'item' => $itemtype,
+ 'page' => $page,
+ 'perpage' => $perpage,
+ );
+$PAGE->set_url(new moodle_url('/grade/report/singleview/index.php', $pageparams));
$PAGE->set_pagelayout('incourse');
if (!$course = $DB->get_record('course', $courseparams)) {