Bugzilla – Attachment 87462 Details for
Bug 22641
Incorrect filter on SCO printslip
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22641: Use raw filter on html slip
Bug-22641-Use-raw-filter-on-html-slip.patch (text/plain), 1.72 KB, created by
Tomás Cohen Arazi (tcohen)
on 2019-04-05 18:33:11 UTC
(
hide
)
Description:
Bug 22641: Use raw filter on html slip
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-04-05 18:33:11 UTC
Size:
1.72 KB
patch
obsolete
>From 10a850548a3378c12f934c2b67765180a3a0471f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Sat, 23 Mar 2019 08:13:13 +0000 >Subject: [PATCH] Bug 22641: Use raw filter on html slip > >To test: >Enable SCO >Load a patron >Hit finish, print slip >Note slip shows as raw html >Apply patch >Repeat, get a correctly formatted slip > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >https://bugs.koha-community.org/show_bug.cgi?id=22068 >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >index b81a29100c..2693dd441c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >@@ -7,14 +7,14 @@ > <link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" /> > [% Asset.css("css/print.css") | $raw %] > [% IF stylesheet %] >-<link rel="stylesheet" type="text/css" href="[% stylesheet | url %]" /> >+<link rel="stylesheet" type="text/css" href="[% stylesheet | $raw %]" /> > [% END %] > > <!-- JavaScript includes --> > [% Asset.js("lib/jquery/jquery.js") | $raw %] > [% Asset.js("js/global.js") | $raw %] > >-[% INCLUDE 'slip-print.inc' %] >+[% INCLUDE 'slip-print.inc' #printThenClose %] > > </head> > >@@ -25,7 +25,7 @@ > [% slip | html %] > </pre> > [% ELSE %] >- [% slip | html %] >+ [% slip | $raw %] > [% END %] > > </div> >-- >2.21.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 22641
:
87414
|
87419
| 87462