From d1eb2b1393063c672c0c2efb307c32ef56fb5985 Mon Sep 17 00:00:00 2001 From: Bouzid Fergani Date: Mon, 17 Feb 2020 12:06:12 -0500 Subject: [PATCH] Bug24675: Update MARC21 config for bib_heading_fields To reproduce: - Enable the sysprefs AutoCreateAuthorities BiblioAddsAuthorities CatalogModuleRelink - Edit or open any biblio record - fill all subfields of the field 100 In my case , I have $a, $d, $e, $q - Save and continue editing - Check the $9 of the field 100 filled for the authid(auto create of authority) - Open the detail of the new authority created using authid ($9) - In the new authority, $e is not filled This problem produce, because in C4/Heading/MARC21.pm, the list of subfields for each field is not upated since 2011. The source of new list of subfields is : library of congress (https://www.loc.gov/marc/bibliographic) When applying the patch, all subfields is reported correctly in the new authority. NB: All the subfields not written in the file C4/Heading/MARC21.pm have the same problem. --- C4/Heading/MARC21.pm | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm index fc4d576..b2dcd5b 100644 --- a/C4/Heading/MARC21.pm +++ b/C4/Heading/MARC21.pm @@ -50,17 +50,17 @@ FIXME - this should be moved to a configuration file. my $bib_heading_fields = { '100' => { auth_type => 'PERSO_NAME', - subfields => 'abcdfghjklmnopqrst', + subfields => 'abcdefgjklnpqtu', main_entry => 1 }, '110' => { auth_type => 'CORPO_NAME', - subfields => 'abcdfghklmnoprst', + subfields => 'abcdefgklnptu', main_entry => 1 }, '111' => { auth_type => 'MEETI_NAME', - subfields => 'acdfghjklnpqst', + subfields => 'acdefgjklnpqtu', main_entry => 1 }, '130' => { @@ -68,55 +68,55 @@ my $bib_heading_fields = { subfields => 'adfghklmnoprst', main_entry => 1 }, - '440' => { auth_type => 'UNIF_TITLE', subfields => 'anp', series => 1 }, + '440' => { auth_type => 'UNIF_TITLE', subfields => 'anpvwx', series => 1 }, '600' => { auth_type => 'PERSO_NAME', - subfields => 'abcdfghjklmnopqrstvxyz', + subfields => 'abcdefghjklmnopqrstuvxyz', subject => 1 }, '610' => { auth_type => 'CORPO_NAME', - subfields => 'abcdfghklmnoprstvxyz', + subfields => 'abcdefghklmnoprstuvxyz', subject => 1 }, '611' => { auth_type => 'MEETI_NAME', - subfields => 'acdfghjklnpqstvxyz', + subfields => 'acdefghjklnpqstuvxyz', subject => 1 }, '630' => { auth_type => 'UNIF_TITLE', - subfields => 'adfghklmnoprstvxyz', + subfields => 'adefghklmnoprstvxyz', subject => 1 }, '648' => { auth_type => 'CHRON_TERM', subfields => 'avxyz', subject => 1 }, - '650' => { auth_type => 'TOPIC_TERM', subfields => 'abvxyz', subject => 1 }, - '651' => { auth_type => 'GEOGR_NAME', subfields => 'avxyz', subject => 1 }, - '655' => { auth_type => 'GENRE/FORM', subfields => 'avxyz', subject => 1 }, + '650' => { auth_type => 'TOPIC_TERM', subfields => 'abcdegvxyz', subject => 1 }, + '651' => { auth_type => 'GEOGR_NAME', subfields => 'aegvxyz', subject => 1 }, + '655' => { auth_type => 'GENRE/FORM', subfields => 'abcvxyz', subject => 1 }, '690' => { auth_type => 'TOPIC_TERM', subfields => 'abvxyz', subject => 1 }, '691' => { auth_type => 'GEOGR_NAME', subfields => 'avxyz', subject => 1 }, '696' => { auth_type => 'PERSO_NAME', subfields => 'abcdfghjklmnopqrst' }, '697' => { auth_type => 'CORPO_NAME', subfields => 'abcdfghklmnoprst' }, '698' => { auth_type => 'MEETI_NAME', subfields => 'acdfghjklnpqst' }, '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' }, - '730' => { auth_type => 'UNIF_TITLE', subfields => 'adfghklmnoprst' }, + '700' => { auth_type => 'PERSO_NAME', subfields => 'abcdefghijklmnopqrstux' }, + '710' => { auth_type => 'CORPO_NAME', subfields => 'abcdefghiklmnoprstux' }, + '711' => { auth_type => 'MEETI_NAME', subfields => 'acdefghijklnpqstux' }, + '730' => { auth_type => 'UNIF_TITLE', subfields => 'adfghiklmnoprstx' }, '800' => { auth_type => 'PERSO_NAME', - subfields => 'abcdfghjklmnopqrst', + subfields => 'abcdefghjklmnopqrstuvwx', series => 1 }, '810' => { auth_type => 'CORPO_NAME', - subfields => 'abcdfghklmnoprst', + subfields => 'abcdefghklmnoprstuvwx', series => 1 }, '811' => - { auth_type => 'MEETI_NAME', subfields => 'acdfghjklnpqst', series => 1 }, + { auth_type => 'MEETI_NAME', subfields => 'acdefghjklnpqstuvwx', series => 1 }, '830' => - { auth_type => 'UNIF_TITLE', subfields => 'adfghklmnoprst', series => 1 }, + { auth_type => 'UNIF_TITLE', subfields => 'adfghklmnoprstvw', series => 1 }, }; =head2 subdivisions -- 2.7.4