Bugzilla – Attachment 93596 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.02 KB, created by
Nick Clemens (kidclamp)
on 2019-10-03 13:22:54 UTC
(
hide
)
Description:
Bug 23730: Fix export of reports
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-10-03 13:22:54 UTC
Size:
1.02 KB
patch
obsolete
>From c9daa26242895e27c15247597e887cff7d87cce2 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 >--- > 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