Bugzilla – Attachment 37779 Details for
Bug 7646
Printing w/o the SQL Code showing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7646: Add "do not print SQL" link to reports
Bug-7646-Add-do-not-print-SQL-link-to-reports.patch (text/plain), 1.51 KB, created by
Marc Véron
on 2015-04-13 19:08:53 UTC
(
hide
)
Description:
Bug 7646: Add "do not print SQL" link to reports
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-04-13 19:08:53 UTC
Size:
1.51 KB
patch
obsolete
>From 8b5e512be0bdd1837ee1705da3c363b3b2cc08d1 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >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.</p> > [% END %] > > [% IF ( execute ) %] >+<a href="javascript:window.print()" OnClick="document.getElementById('sql_output').className += ' noprint';" class="noprint">Print w/o SQL</a> > <h1>[% name %]</h1> > [% IF ( notes ) %]<p>[% notes %]</p>[% END %] > [% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %] >-- >1.7.10.4
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 7646
:
8025
|
8106
|
8108
|
8109
|
8273
|
37779
|
37790
|
37926
|
37945
|
38043
|
41093