mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Fixed Bug #3652 - Gradebook catagory detail group view not working.
This commit is contained in:
parent
bd38247223
commit
ee50df92a2
@ -2774,7 +2774,7 @@ function grade_set_letter_grades() {
|
||||
}
|
||||
|
||||
function grade_download_form($type='both') {
|
||||
global $course,$USER;
|
||||
global $course,$USER, $action, $cview;
|
||||
if ($type != 'both' || $type != 'excel' || $type != 'text') {
|
||||
$type = 'both';
|
||||
}
|
||||
@ -2797,7 +2797,15 @@ function grade_download_form($type='both') {
|
||||
echo '</td>';
|
||||
}
|
||||
echo '<td>';
|
||||
setup_and_print_groups($course, $course->groupmode, 'index.php?id='.$course->id);
|
||||
|
||||
$url = 'index.php?id='.$course->id;
|
||||
if (!empty($action)) {
|
||||
$url .= '&action='.$action;
|
||||
if ($action == 'vcats') {
|
||||
$url .= '&cview='.$cview;
|
||||
}
|
||||
}
|
||||
setup_and_print_groups($course, $course->groupmode, $url);
|
||||
echo '</td>';
|
||||
|
||||
echo '</tr></table>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user