From c3c178352d3da3083dd5a8d6f678b98b99be5c2c Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Wed, 19 Oct 2016 16:36:13 +0200 Subject: [PATCH] Bug 15503 [QA Followup] - Display "uneven number of fields" error only in relevant biblios --- acqui/addorderiso2709.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index ba41100..d645d4f 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -539,7 +539,7 @@ sub import_biblios_list { $cellrecord{'iteminfos'} = \@itemlist; } else { - $item_error = 1; + $cellrecord{'item_error'} = 1; } push @list, \%cellrecord; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt index 1aa34a9..20565c2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -287,7 +287,7 @@
- [% 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 %]
Item Record [% item.item_id %] -- 1.7.10.4