Merge branch 'MDL-86727-main' of https://github.com/aanabit/moodle

This commit is contained in:
Sara Arjona
2025-09-24 08:46:36 +02:00
+6 -3
View File
@@ -497,8 +497,11 @@ print '</div>';
// Add buttons for exporting report.
if ($grandtotal && count($activities) > 0) {
echo $OUTPUT->download_dataformat_selector(get_string('downloadas', 'table'), $url, 'dataformat', [
'course' => $course->id,
]);
echo $OUTPUT->download_dataformat_selector(
get_string('downloadas', 'table'),
$url->out_omit_querystring(),
'dataformat',
$url->params()
);
}
echo $OUTPUT->footer();