Bugzilla – Attachment 99125 Details for
Bug 24675
No update of the list of MARC21 subfields in C4/Heading/MARC21.pm, Generated authorities are missing subfields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug24675: Update MARC21 config for bib_heading_fields
Bug24675-Update-MARC21-config-for-bibheadingfields.patch (text/plain), 5.32 KB, created by
Bouzid Fergani
on 2020-02-17 19:06:11 UTC
(
hide
)
Description:
Bug24675: Update MARC21 config for bib_heading_fields
Filename:
MIME Type:
Creator:
Bouzid Fergani
Created:
2020-02-17 19:06:11 UTC
Size:
5.32 KB
patch
obsolete
>From d1eb2b1393063c672c0c2efb307c32ef56fb5985 Mon Sep 17 00:00:00 2001 >From: Bouzid Fergani <bouzid.fergani@inlibro.com> >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
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 24675
:
99122
|
99125
|
99130
|
99508