From 30375ee99f6b3eda8f8b9960a6c857bdd55a9173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Tue, 29 Aug 2017 07:33:21 +0200 Subject: [PATCH] MDL-53936 reports: State default index page explicitly in pagination url --- report/completion/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/report/completion/index.php b/report/completion/index.php index b4479b9e4d9..f8b6ccef697 100644 --- a/report/completion/index.php +++ b/report/completion/index.php @@ -157,7 +157,7 @@ if ($csv) { echo $OUTPUT->header(); // Handle groups (if enabled) - groups_print_course_menu($course, $CFG->wwwroot.'/report/completion/?course='.$course->id); + groups_print_course_menu($course, $CFG->wwwroot.'/report/completion/index.php?course='.$course->id); } if ($sifirst !== 'all') { @@ -222,7 +222,7 @@ if ($total) { } // Build link for paging -$link = $CFG->wwwroot.'/report/completion/?course='.$course->id; +$link = $CFG->wwwroot.'/report/completion/index.php?course='.$course->id; if (strlen($sort)) { $link .= '&sort='.$sort; } @@ -428,10 +428,10 @@ if (!$csv) { if ($firstnamesort) { print - get_string('firstname')." / id}{$sistring}\">". + get_string('firstname')." / id}{$sistring}\">". get_string('lastname').''; } else { - print "id}&sort=firstname{$sistring}\">". + print "id}&sort=firstname{$sistring}\">". get_string('firstname').' / '. get_string('lastname'); }