From 7d87ea53560b411dd44e141679e7d0071d55a7c2 Mon Sep 17 00:00:00 2001 From: Stefano Bargioni Date: Tue, 11 Mar 2014 10:22:12 +0100 Subject: [PATCH] Bug 8064: Little fix for 003, 005, 008 in MARC21 I found a little bug in the patch. Subfield '@' of tags 003, 005, 008 in MARC21 were not correctly handled by function check_mandatory() in merge.tt. I fixed the problem. In my opinion, the patch can be signed off. Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt index 8d1a4d2243..9ec45c1d4e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt @@ -34,7 +34,8 @@ div#result { margin-top: 1em; } } for (subfieldcode in tagslib[tag]) { if (subfieldcode == 'lib' || subfieldcode == 'mandatory' - || subfieldcode == 'repeatable' || subfieldcode == 'tab') { + || subfieldcode == 'repeatable' || subfieldcode == 'tab' + || subfieldcode == '@') { continue; } if (tagslib[tag][subfieldcode].mandatory == 1 && tagslib[tag][subfieldcode].tab >= 0) { -- 2.39.5