Bugzilla – Attachment 28832 Details for
Bug 8064
Merge several biblio records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8064: Little fix for 003, 005, 008 in MARC21
Bug-8064-Little-fix-for-003-005-008-in-MARC21.patch (text/plain), 1.38 KB, created by
Julian Maurice
on 2014-06-13 09:34:36 UTC
(
hide
)
Description:
Bug 8064: Little fix for 003, 005, 008 in MARC21
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2014-06-13 09:34:36 UTC
Size:
1.38 KB
patch
obsolete
>From e3fe92c06300c43f02b39a5a7a0dbda636793baf Mon Sep 17 00:00:00 2001 >From: Stefano Bargioni <bargioni@pusc.it> >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. >--- > 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 c824995..847b2b6 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.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8064
:
9498
|
18433
|
18840
|
18923
|
19411
|
19413
|
21351
|
22749
|
23708
|
23709
|
23710
|
24078
|
24079
|
24080
|
26055
|
26056
|
26057
|
26058
|
28726
|
28829
|
28830
|
28831
|
28832
|
28833
|
29324
|
29325
|
29326
|
29327
|
29328
|
29921
|
29922
|
29923
|
29924
|
29925
|
35738
|
35739
|
35740
|
35741
|
35742
|
35900
|
35901
|
35902
|
35903
|
35904
|
35905
|
44633
|
44634
|
44635
|
44636
|
44637
|
44638