Bugzilla – Attachment 95279 Details for
Bug 23777
Text converted to html entity codes in cataloguing edit form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23777: Fix for the advanced editor
Bug-23777-Fix-for-the-advanced-editor.patch (text/plain), 1.92 KB, created by
Jonathan Druart
on 2019-11-12 08:19:48 UTC
(
hide
)
Description:
Bug 23777: Fix for the advanced editor
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-12 08:19:48 UTC
Size:
1.92 KB
patch
obsolete
>From 36982aedea14e973fb2818f2f8a9098d94b05c95 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 12 Nov 2019 09:19:31 +0100 >Subject: [PATCH] Bug 23777: Fix for the advanced editor > >--- > .../prog/en/modules/authorities/blinddetail-biblio-search.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >index 168afa188c..aa4c4f8be3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >@@ -32,9 +32,9 @@ > [% ELSE %] > var new_line = " > [%- FOREACH SUBFIELD_LOO IN SUBFIELD_LOOP -%]â¡ >- [%- SUBFIELD_LOO.marc_subfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r ') | html -%] >+ [%- To.json( SUBFIELD_LOO.marc_subfield ) | $raw -%] > [%- FOREACH marc_value IN SUBFIELD_LOO.marc_values -%] >- [%- marc_value |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html -%] >+ [%- To.json( marc_value ) | $raw -%] > [%- END -%] > [%- END -%]â¡9[% authid | html %]"; > [% END %] >@@ -137,7 +137,7 @@ > if (subfield){subfield.value="" ;} > [% ELSE %] > if(code.value=='9'){ >- subfield.value = "[% authid |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]"; >+ subfield.value = "[% To.json(authid) | $raw %]"; > break; > } > [% 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 23777
:
95275
|
95279
|
95280
|
95281
|
95282
|
95283
|
95284
|
97685
|
97686
|
97687
|
97688
|
97689
|
97690
|
97691
|
98698
|
98699
|
98700
|
99341
|
99342
|
99343
|
99344
|
99345
|
99346
|
99347
|
99348
|
99570