From 8b5e512be0bdd1837ee1705da3c363b3b2cc08d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Mon, 13 Apr 2015 20:56:40 +0200 Subject: [PATCH] Bug 7646: Add "do not print SQL" link to reports I redid the patch without the superfluos CSS part for class noprint. 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. The original patch was QAed in 2012, I think it is better to have put it back to "Needs Sign-off" --- .../intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 1 + 1 file changed, 1 insertion(+) 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 d2420a0..ce02836 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 @@ -792,6 +792,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.10.4