Bugzilla – Attachment 8193 Details for
Bug 7618
HTML special characters break result table and incorrectly show SQL in Run This Report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7618 Escape HTML special characters for SQL displayed above results in Report module
Bug-7618-Escape-HTML-special-characters-for-SQL-di.patch (text/plain), 1.18 KB, created by
Chris Cormack
on 2012-03-12 23:48:31 UTC
(
hide
)
Description:
Bug 7618 Escape HTML special characters for SQL displayed above results in Report module
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-03-12 23:48:31 UTC
Size:
1.18 KB
patch
obsolete
>From ae4b283b0249771f37aa6f8e28901b42abc00103 Mon Sep 17 00:00:00 2001 >From: David <dcook@prosentient.com.au> >Date: Tue, 13 Mar 2012 10:17:32 +1100 >Subject: [PATCH] Bug 7618 Escape HTML special characters for SQL displayed > above results in Report module > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > .../en/modules/reports/guided_reports_start.tt | 2 +- > 1 files changed, 1 insertions(+), 1 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 caf27f1..137fdbf 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 >@@ -496,7 +496,7 @@ canned reports and writing custom SQL reports.</p> > <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 %] >-<pre id="sql_output">[% sql %]</pre> >+<pre id="sql_output">[% sql |html %]</pre> > <div class="pages">[% pagination_bar %]</div> > [% UNLESS ( errors ) %] > <table> >-- >1.7.5.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 7618
:
7976
|
8192
| 8193