Bugzilla – Attachment 82921 Details for
Bug 21947
Filtering order generates html in notes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21947: Swap the filter order
Bug-21947-Swap-the-filter-order.patch (text/plain), 1.70 KB, created by
Jonathan Druart
on 2018-12-06 16:38:13 UTC
(
hide
)
Description:
Bug 21947: Swap the filter order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-12-06 16:38:13 UTC
Size:
1.70 KB
patch
obsolete
>From a7dc7f6034573d39d413b981c9204308d865d06c Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Tue, 4 Dec 2018 18:58:17 +0000 >Subject: [PATCH] Bug 21947: Swap the filter order > >TEST PLAN >---------- >1) start your kohadevbox >2) cd kohaclone >3) git checkout -b bug_21947 origin/master >4) git bz apply 21947 >5) reset_all >6) log in to staff client and add a 500$a with lots > of blank lines between strings with some HTML. >7) look at the opac record Title notes tab. > -- does it have <br>-mess? Should not. >8) repeat steps 5-7 on master, and you'll see > a <br>-mess. >9) run qa test tools > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index afb8f9aa58..331d3076d6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -714,7 +714,7 @@ > [% IF MARCNOTE.marcnote.match('^https?://\S+$') %] > <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a> > [% ELSE %] >- [% MARCNOTE.marcnote FILTER html_line_break | html %] >+ [% MARCNOTE.marcnote | html | html_line_break %] > [% END %] > </p> > [% END %] >-- >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 21947
:
82850
|
82857
|
82861
|
82862
| 82921 |
82922