Bugzilla – Attachment 116783 Details for
Bug 27691
Allow HTML in notes for saved SQL reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27691: Add $raw filter to report notes output
Bug-27691-Add-raw-filter-to-report-notes-output.patch (text/plain), 1.32 KB, created by
Lucas Gass (lukeg)
on 2021-02-11 23:30:08 UTC
(
hide
)
Description:
Bug 27691: Add $raw filter to report notes output
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-02-11 23:30:08 UTC
Size:
1.32 KB
patch
obsolete
>From 4a03fe4f5e85f0dc1ab09dd2859528a4afcdaad4 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 11 Feb 2021 23:27:01 +0000 >Subject: [PATCH] Bug 27691: Add $raw filter to report notes output > >To test: >Add a report with some notes that include HTML: <p>TEST</p> >Run the report, the HTML displays literally >Apply patch >Run the report again. HTML looks good >--- > 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 f6589543a6..a5390f1413 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 >@@ -849,7 +849,7 @@ > [% IF ( execute ) %] > <h1>[% name | html %] <span id="report_id">([% id | html %])</span></h1> > [% IF ( notes ) %] >- <p><span class="label">Notes:</span> [% notes | html %]</p> >+ <p><span class="label">Notes:</span> [% notes | $raw %]</p> > [% END %] > [% IF ( unlimited_total ) %] > <p> >-- >2.11.0
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 27691
:
116783
|
116836
|
116853