From 4d060bc988090405d24aae2c8e9fe1c9da21904a 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 c9b9ae8..b2c9662 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -571,7 +571,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 939b466..d53faec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -315,7 +315,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 %] -- 2.1.4