From 8eb2aa621a80120955be00840b06d39ec39365c6 Mon Sep 17 00:00:00 2001 From: Stefano Bargioni Date: Tue, 11 Mar 2014 10:22:12 +0100 Subject: [PATCH] [SIGNED-OFF] 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 --- .../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 c824995..d43c2fe 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) { -- 1.7.9.5