From e64abb93b2da783c903531e87bc1b9faf880d65d Mon Sep 17 00:00:00 2001
From: Aleisha
Date: Fri, 29 Apr 2016 02:47:06 +0000
Subject: [PATCH] Bug 16388: Move option to download report into reports
toolbar
To test:
1) Create a new SQL report or edit a report
2) Ensure that the download option does NOT show in the toolbar
3) Save and run the report
4) Confirm that download option DOES show in toolbar as a dropdown with the 3 options (csv, tab and ods)
5) Confirm that downloading all 3 file types works as expected
Sponsored-by: Catalyst IT
---
.../intranet-tmpl/prog/en/includes/reports-toolbar.inc | 14 +++++++++++++-
.../prog/en/modules/reports/guided_reports_start.tt | 13 -------------
reports/guided_reports.pl | 1 +
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
index fef1166..a24fcb9 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
@@ -9,7 +9,7 @@
[% END %]
- [% IF ( showsql || execute || editsql || save_successful ) %]
+ [% IF ( showsql || execute || editsql || save_successful || runreport ) %]
[% IF ( CAN_user_reports_create_reports ) %]
[% UNLESS ( editsql ) # Do not show edit button on edit page %]