From 55f1cfa393d84547327424ee7ceb079c592c5d4f Mon Sep 17 00:00:00 2001
From: Shane
Date: Mon, 5 Mar 2012 22:16:09 -0500
Subject: [PATCH] Bug 7646: Add "do not print SQL" link to reports
Content-Type: text/plain; charset="UTF-8"
I have made modifications to the template file. It added a text link to remove
the SQL statement from the print view. Thus saving the need to use CSV/TSV
exports.
The print text will not show on the print out as is. I added a little .noprint
class to the template file. Then I added my text with a print dialog and class
change JS.
Signed-off-by: Jared Camins-Esakov
---
.../en/modules/reports/guided_reports_start.tt | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
index 137fdbf..fcb2595 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
@@ -19,6 +19,12 @@
+
@@ -493,6 +499,7 @@ canned reports and writing custom SQL reports.
[% END %]
[% IF ( execute ) %]
+Print w/o SQL
[% name %]
[% IF ( notes ) %][% notes %]
[% END %]
[% IF ( unlimited_total ) %]Total number of rows matching the (unlimited) query is [% unlimited_total %].
[% END %]
--
1.7.2.5