MDL-86727 report_progress: Use filters when downloading

This commit is contained in:
Amaia Anabitarte
2025-09-23 10:44:12 +02:00
parent 74ee977521
commit 96b90b4d96
+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();