From 847f1e8fc3d494f482d12b22afff43b601d189f4 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 --- C4/Heading/MARC21.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm index 6a1a3346b2..7ed83a8a73 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' => { @@ -127,7 +127,7 @@ my $bib_heading_fields = { }, '611' => { auth_type => 'MEETI_NAME', - subfields => 'acdfghjklnpqstvxyz', + subfields => 'acdefghklnpqstvxyz', subject => 1 }, '630' => { @@ -147,7 +147,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', @@ -160,7 +160,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 }, }; @@ -168,12 +168,12 @@ my $bib_heading_fields = { my $auth_heading_fields = { '100' => { auth_type => 'PERSO_NAME', - subfields => 'abcdefghjklmnopqrstvxyz68', + subfields => 'abcdfghjklmnopqrstvxyz68', main_entry => 1 }, '110' => { auth_type => 'CORPO_NAME', - subfields => 'abcdefghklmnoprstvxyz68', + subfields => 'abcdfghklmnoprstvxyz68', main_entry => 1 }, '111' => { -- 2.39.5