mirror of
https://github.com/moodle/moodle.git
synced 2025-06-06 08:08:44 +02:00
MDL-27640 rating: altered the return url provided by mod_data to ratings
This commit is contained in:
parent
9928cc8aa2
commit
c04b01f46f
@ -656,9 +656,12 @@ if ($showactivity) {
|
||||
}
|
||||
|
||||
if ($mode == 'single') { // Single template
|
||||
$baseurl = 'view.php?d=' . $data->id . '&mode=single&';
|
||||
$baseurl = 'view.php?d=' . $data->id . '&mode=single&';
|
||||
if (!empty($search)) {
|
||||
$baseurl .= 'filter=1&';
|
||||
$baseurl .= 'filter=1&';
|
||||
}
|
||||
if (!empty($page)) {
|
||||
$baseurl .= 'page=' . $page;
|
||||
}
|
||||
echo $OUTPUT->paging_bar($totalcount, $page, $nowperpage, $baseurl);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user