Bug 15503 [QA Followup] - Display "uneven number of fields" error only in relevant...
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Wed, 19 Oct 2016 14:36:13 +0000 (16:36 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 14 Feb 2017 14:56:03 +0000 (14:56 +0000)
Signed-off-by: Benjamin Daeuber <bdaeuber@cityoffargo.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

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

index c9b9ae8..b2c9662 100755 (executable)
@@ -571,7 +571,7 @@ sub import_biblios_list {
 
             $cellrecord{'iteminfos'} = \@itemlist;
         } else {
-            $item_error = 1;
+            $cellrecord{'item_error'} = 1;
         }
         push @list, \%cellrecord;
 
index 939b466..d53faec 100644 (file)
                           </ol>
                         </div>
                         <div style="float:right">
-                        [% IF item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
+                        [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
                         [% FOREACH item IN biblio.iteminfos %]
                         <fieldset>
                         <legend>Item Record [% item.item_id %]</legend>