Skip to content

Commit

Permalink
MDL-46191 gradereport_history: Missing filename when downloading data
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Massart committed Aug 28, 2014
1 parent 7c9e983 commit a2bf889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grade/report/history/classes/output/tablelog.php
Expand Up @@ -103,8 +103,8 @@ public function __construct($uniqueid, \context_course $context, $url, $filters
// 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'));
}

/**
Expand Down
1 change: 1 addition & 0 deletions grade/report/history/lang/en/gradereport_history.php
Expand Up @@ -32,6 +32,7 @@
$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';
Expand Down

0 comments on commit a2bf889

Please sign in to comment.