Bug 36555: Add report_id to download file name
To test: - apply patch, restart all - run a report - export results - confirm file name is the report ID, followed by report name Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
54d8848191
commit
04b15ff5a9
|
|
@ -620,7 +620,7 @@ elsif ($op eq 'export'){
|
|||
my @sql_params = $input->multi_param('sql_params');
|
||||
my $format = $input->param('format');
|
||||
my $reportname = $input->param('reportname');
|
||||
my $reportfilename = $reportname ? "$reportname-reportresults.$format" : "reportresults.$format";
|
||||
my $reportfilename = $reportname ? "$report_id-$reportname-reportresults.$format" : "$report_id-reportresults.$format" ;
|
||||
my $scrubber = C4::Scrubber->new();
|
||||
|
||||
($sql, undef) = $report->prep_report( \@param_names, \@sql_params );
|
||||
|
|
|
|||
Loading…
Reference in New Issue