From 261747e477fa19c8cff3c689685f37a45bcc9e66 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 Signed-off-by: Benjamin Daeuber Signed-off-by: Kyle M Hall Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- acqui/addorderiso2709.pl | 2 +- .../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 c9b9ae8e24..b2c9662eec 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 939b4668e5..d53faec8da 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.39.5