Bug 12759: Add missing html filters
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 20 Dec 2018 20:44:02 +0000 (21:44 +0100)
committerroot <root@f1ebe1bec408>
Tue, 19 Feb 2019 13:52:15 +0000 (13:52 +0000)
Add some missing html filters to fix QA script
complaints.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt

index 5bd3513..8b60ebd 100644 (file)
@@ -95,7 +95,7 @@
                     <select name="shelf_number" id="shelf_number">
                       <option value="">Select a list</option>
                         [% FOREACH list IN lists %]
-                          <option value="[% list.shelfnumber %]">[% list.shelfname %]</option>
+                          <option value="[% list.shelfnumber | html %]">[% list.shelfname | html %]</option>
                         [% END %]
                       </option>
                     </select>
index 652c74e..27a5133 100644 (file)
@@ -99,7 +99,7 @@
                     <select name="shelf_number" id="shelf_number">
                       <option value="">Select a list</option>
                         [% FOREACH list IN lists %]
-                          <option value="[% list.shelfnumber %]">[% list.shelfname %]</option>
+                          <option value="[% list.shelfnumber | html %]">[% list.shelfname | html %]</option>
                         [% END %]
                       </option>
                     </select>