Bug 18433: Add missing filter
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Feb 2020 08:54:20 +0000 (09:54 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Feb 2020 16:07:58 +0000 (16:07 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc

index 6b17cd6..4ff4579 100644 (file)
@@ -7,7 +7,7 @@
 [%- biblioitem = item.biblioitem -%]
 [
   "[% FILTER escape_quotes = replace('"', '\"') ~%]
-    <input type="checkbox" name="itemnumber" value="[% item.itemnumber %]"/>
+    <input type="checkbox" name="itemnumber" value="[% item.itemnumber | html %]"/>
   [%~ END %]",
   "[% FILTER escape_quotes ~%]
     <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]" title="Go to record detail page">[% biblio.title | html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author | html %]