From d076e095b6a00e36d079584b8cf405c435acd3b8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 15 Apr 2015 17:20:22 -0400 Subject: [PATCH] Bug 7646 - Printing w/o the SQL Code showing This patch provides the same function but adds a 'Print results' button rather than the link. Looks a little cleaner to my eye and there doesn't seem to be an option to print with SQL. To test: Go to Home > Reports > Guided reports wizard > Saved reports Select a report and run it You will find a new link "Print w/o SQL" above the title Hit this link. The report (this page) will print without the SQL statement. --- koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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 b7e7a79..e444dc3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc @@ -28,4 +28,10 @@ [% END %] [% END %] + + [% IF ( execute) %] +
+ Print results +
+ [% END %] -- 1.9.1