Skip to content
Permalink
Browse files

MDL-18430: Completion progress report CSV download should be whole re…

…port not one page
  • Loading branch information...
sam_marshall
sam_marshall committed Mar 3, 2009
1 parent 7a7dbd7 commit 10130df65bf429db9a45592fd6488f8e9b637c6e
Showing with 2 additions and 1 deletion.
  1. +2 −1 course/report/progress/index.php
@@ -58,7 +58,8 @@ function csv_quote($value) {
print_error('err_noactivities','completion',$reportsurl);
}
$progress=$completion->get_progress_all($firstnamesort,$group,COMPLETION_REPORT_PAGE,$start);
$progress=$completion->get_progress_all($firstnamesort,$group,
$csv ? 0 :COMPLETION_REPORT_PAGE,$csv ? 0 : $start);
if($csv) {
header('Content-Disposition: attachment; filename=progress.'.

0 comments on commit 10130df

Please sign in to comment.
You can’t perform that action at this time.