Bug 21347: Escaped fields that should be in addorderiso2709
authorChris Cormack <chris@bigballofwax.co.nz>
Fri, 14 Sep 2018 22:48:23 +0000 (22:48 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Sun, 16 Sep 2018 00:33:24 +0000 (00:33 +0000)
Test plan
1/ Stage a MARC file (if you have none staged)
2/ Create a basket in aquisitions
3/ Add an order via staged file
4/ Look at the item information tab, notice there is escaped html
5/ Apply patch
6/ Refresh page, notice it is fixed

Signed-off-by: Sonia <sonia.bouis@univ-lyon3.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

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

koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt

index 818eb28..4ec3c62 100644 (file)
                                             [% END %]
                                             </select>
                                         [% ELSE %]
-                                        [% iteminformatio.marc_value | html %]
+                                        [% iteminformatio.marc_value | $raw %]
                                         [% END %]
                                         <input type="hidden" name="itemid" value="1" />
                                         <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" />