page param should not be in the baseurl for group selector, otherwise when you go to page x and switch groups you can end up being on a blank page with no paging navigation

This commit is contained in:
toyomoyo 2007-07-16 06:20:03 +00:00
parent 6164921133
commit 622474db27

View File

@ -231,7 +231,7 @@ class grade_report_grader extends grade_report {
$course = get_record('course', 'id', $this->courseid);
$groupmode = $course->groupmode;
ob_start();
$this->currentgroup = setup_and_print_groups($course, $groupmode, $this->baseurl);
$this->currentgroup = setup_and_print_groups($course, $groupmode, $this->pbarurl);
$this->group_selector = ob_get_clean();
// update paging after group