From 7788ebc19c4e6d7765ad21fc0180af440e7cbb84 Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Sun, 21 Dec 2014 09:31:47 +0100 Subject: [PATCH] Bug 26852: subfield $e missing in X11 definition of MARC21 headings This patch adds $e to 111 and 611, but removes it from 100 and 110 as it's used for the relator term there and should not be copied. Same for 111$j. Test plan: 1. Have a biblio record with, for example, 711 field with a $e subfield. 2. Have two auth records: one with 111 field reflecting the 711 field and second similar but without $e subfield 3. Have LinkerModule set to Default 4. Run link_bibs_to_authorities.pl 5. 711 should remain unlinked since there were two record found by the Default Linker and no one was chosen. 6. Apply the patch. 7. Run link_bibs_to_authorities.pl 8. 711 should be linked now. Repeat testing in similar fashion for authorities: 9. 100/110 $e 10. 111 $j NB zebra index definition is OK: kohaidx:index_match_heading tag="111" subfields="acdefghjklnpqstvxyz" subdivisions="vxyz"> in etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml Signed-off-by: Sara Brown Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 847f1e8fc3d494f482d12b22afff43b601d189f4) Signed-off-by: Fridolin Somers --- C4/Heading/MARC21.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm index 5802914438..27d8647266 100644 --- a/C4/Heading/MARC21.pm +++ b/C4/Heading/MARC21.pm @@ -60,7 +60,7 @@ my $bib_heading_fields = { }, '111' => { auth_type => 'MEETI_NAME', - subfields => 'acdfghjklnpqst', + subfields => 'acdefghklnpqst', main_entry => 1 }, '130' => { @@ -81,7 +81,7 @@ my $bib_heading_fields = { }, '611' => { auth_type => 'MEETI_NAME', - subfields => 'acdfghjklnpqstvxyz', + subfields => 'acdefghklnpqstvxyz', subject => 1 }, '630' => { @@ -101,7 +101,7 @@ my $bib_heading_fields = { '699' => { auth_type => 'UNIF_TITLE', subfields => 'adfghklmnoprst' }, '700' => { auth_type => 'PERSO_NAME', subfields => 'abcdfghjklmnopqrst' }, '710' => { auth_type => 'CORPO_NAME', subfields => 'abcdfghklmnoprst' }, - '711' => { auth_type => 'MEETI_NAME', subfields => 'acdfghjklnpqst' }, + '711' => { auth_type => 'MEETI_NAME', subfields => 'acdefghklnpqst' }, '730' => { auth_type => 'UNIF_TITLE', subfields => 'adfghklmnoprst' }, '800' => { auth_type => 'PERSO_NAME', @@ -114,7 +114,7 @@ my $bib_heading_fields = { series => 1 }, '811' => - { auth_type => 'MEETI_NAME', subfields => 'acdfghjklnpqst', series => 1 }, + { auth_type => 'MEETI_NAME', subfields => 'acdefghklnpqst', series => 1 }, '830' => { auth_type => 'UNIF_TITLE', subfields => 'adfghklmnoprst', series => 1 }, }; -- 2.39.5