Bugzilla – Attachment 93600 Details for
Bug 23730
Exporting reports is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23730: Fix export of reports
Bug-23730-Fix-export-of-reports.patch (text/plain), 1.08 KB, created by
Katrin Fischer
on 2019-10-03 13:36:58 UTC
(
hide
)
Description:
Bug 23730: Fix export of reports
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-10-03 13:36:58 UTC
Size:
1.08 KB
patch
obsolete
>From f93f49c2037a11acc7fc73dea9e8b52d7e7c3696 Mon Sep 17 00:00:00 2001 >From: Nick <nick@bywatersolutions.com> >Date: Thu, 3 Oct 2019 13:21:35 +0000 >Subject: [PATCH] Bug 23730: Fix export of reports > >To test: >1 - Run a saved report >2 - Attempt to export results >3 - It fails >4 - Apply patch >5 - It succeeds > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > reports/guided_reports.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl >index bb4e87efe4..aad0418145 100755 >--- a/reports/guided_reports.pl >+++ b/reports/guided_reports.pl >@@ -888,7 +888,7 @@ elsif ($phase eq 'Export'){ > my $reportname = $input->param('reportname'); > my $reportfilename = $reportname ? "$reportname-reportresults.$format" : "reportresults.$format" ; > >- $sql = get_prepped_report( $sql, \@param_names, \@sql_params ); >+ ($sql, undef) = get_prepped_report( $sql, \@param_names, \@sql_params ); > my ($sth, $q_errors) = execute_query($sql); > unless ($q_errors and @$q_errors) { > my ( $type, $content ); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23730
:
93596
| 93600