diff --git a/grade/report/history/classes/output/tablelog.php b/grade/report/history/classes/output/tablelog.php index 0132406522e..0b1d83067fc 100644 --- a/grade/report/history/classes/output/tablelog.php +++ b/grade/report/history/classes/output/tablelog.php @@ -103,8 +103,8 @@ class tablelog extends \table_sql implements \renderable { // Define configs. $this->define_table_configs($url); - // Set download satus. - $this->is_downloading($download); + // Set download status. + $this->is_downloading($download, get_string('exportfilename', 'gradereport_history')); } /** diff --git a/grade/report/history/lang/en/gradereport_history.php b/grade/report/history/lang/en/gradereport_history.php index 651df2543ef..063f89796e3 100644 --- a/grade/report/history/lang/en/gradereport_history.php +++ b/grade/report/history/lang/en/gradereport_history.php @@ -32,6 +32,7 @@ $string['deleteditemid'] = 'Delete item with id {$a}'; $string['errajaxsearch'] = 'Error when searching users'; $string['eventgradereportviewed'] = 'Grade history report viewed'; $string['excluded'] = 'Excluded from calculations'; +$string['exportfilename'] = 'grade_history'; $string['foundoneuser'] = '1 user found'; $string['foundnusers'] = '{$a} users found'; $string['feedbacktext'] = 'Feedback text';