Bugzilla – Attachment 80366 Details for
Bug 21541
HTML filter breaks HTML rendering of SQL output
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21541: Use raw filter for report results
Bug-21541-Use-raw-filter-for-report-results.patch (text/plain), 1.51 KB, created by
Nick Clemens (kidclamp)
on 2018-10-10 16:32:30 UTC
(
hide
)
Description:
Bug 21541: Use raw filter for report results
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-10-10 16:32:30 UTC
Size:
1.51 KB
patch
obsolete
>From 0e8d2b998b1f744f0c68c36d27cc9e74cff5f729 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 10 Oct 2018 16:30:15 +0000 >Subject: [PATCH] Bug 21541: Use raw filter for report results > >To test: > 1 - Create new report > SELECT CONCAT('<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=',borrowernumber,'">',"",firstname,"",surname,'</a>') > AS people > FROM borrowers > 2 - Run this report > 3 - Note the results contain raw text, they are not hyperlinks > 4 - Apply patch > 5 - Reload the results > 6 - They should now be links >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 1049cfd..5d82e08 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 >@@ -740,7 +740,7 @@ canned reports and writing custom SQL reports.</p> > [% IF header_row.$place.cell == 'itemnumber' %] > <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" /> > [% END %] >- <td>[% cells.cell | html %]</td> >+ <td>[% cells.cell | $raw %]</td> > [% END %] > </tr> > [% END %] >-- >2.1.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 21541
:
80366
|
80430