MDL-46911 Database activity: jump to correct place in list after (un)approve
This commit is contained in:
committed by
Damyon Wiese
parent
a5580bc618
commit
333db4598d
+2
-2
@@ -767,7 +767,7 @@ if ($showactivity) {
|
||||
$records = $rm->get_ratings($ratingoptions);
|
||||
}
|
||||
|
||||
data_print_template('singletemplate', $records, $data, $search, $page);
|
||||
data_print_template('singletemplate', $records, $data, $search, $page, false, new moodle_url($baseurl));
|
||||
|
||||
echo $OUTPUT->paging_bar($totalcount, $page, $nowperpage, $baseurl);
|
||||
|
||||
@@ -788,7 +788,7 @@ if ($showactivity) {
|
||||
data_generate_default_template($data, 'listtemplate', 0, false, false);
|
||||
}
|
||||
echo $data->listtemplateheader;
|
||||
data_print_template('listtemplate', $records, $data, $search, $page);
|
||||
data_print_template('listtemplate', $records, $data, $search, $page, false, new moodle_url($baseurl));
|
||||
echo $data->listtemplatefooter;
|
||||
|
||||
echo $OUTPUT->paging_bar($totalcount, $page, $nowperpage, $baseurl);
|
||||
|
||||
Reference in New Issue
Block a user