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 <sbrown@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 847f1e8fc3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Janusz Kaczmarek 2014-12-21 09:31:47 +01:00 committed by Fridolin Somers
parent b5c77a293a
commit 7788ebc19c
1 changed files with 4 additions and 4 deletions

View File

@ -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 },
};