From: sam_marshall Date: Tue, 3 Mar 2009 17:28:05 +0000 (+0000) Subject: MDL-18430: Completion progress report CSV download should be whole report not one... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=10130df65bf429db9a45592fd6488f8e9b637c6e;p=moodle.git MDL-18430: Completion progress report CSV download should be whole report not one page --- diff --git a/course/report/progress/index.php b/course/report/progress/index.php index f91fcb8be7..0becbb5f5b 100644 --- a/course/report/progress/index.php +++ b/course/report/progress/index.php @@ -58,7 +58,8 @@ if(count($activities)==0) { 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.'.