Bugzilla – Attachment 123780 Details for
Bug 26852
Add missing X11$e and remove relator term subfields from MARC21 headings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26852: subfield $e missing in X11 definition of MARC21 headings
Bug-26852-subfield-e-missing-in-X11-definition-of-.patch (text/plain), 3.28 KB, created by
Jonathan Druart
on 2021-08-11 11:22:17 UTC
(
hide
)
Description:
Bug 26852: subfield $e missing in X11 definition of MARC21 headings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-11 11:22:17 UTC
Size:
3.28 KB
patch
obsolete
>From 06ab84c83b38cea3ea7c4dd51e30f264420cbb99 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >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 <sbrown@bywatersolutions.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 b021447c88e..011d16268cc 100644 >--- a/C4/Heading/MARC21.pm >+++ b/C4/Heading/MARC21.pm >@@ -59,7 +59,7 @@ my $bib_heading_fields = { > }, > '111' => { > auth_type => 'MEETI_NAME', >- subfields => 'acdfghjklnpqst', >+ subfields => 'acdefghklnpqst', > main_entry => 1 > }, > '130' => { >@@ -126,7 +126,7 @@ my $bib_heading_fields = { > }, > '611' => { > auth_type => 'MEETI_NAME', >- subfields => 'acdfghjklnpqstvxyz', >+ subfields => 'acdefghklnpqstvxyz', > subject => 1 > }, > '630' => { >@@ -146,7 +146,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', >@@ -159,7 +159,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 }, > }; >@@ -167,12 +167,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.25.1
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 26852
:
112654
|
120284
|
123665
| 123780 |
123852