From 738f1001af6239a8893c3050ca21ea99854805b8 Mon Sep 17 00:00:00 2001 From: Robin Sheat Date: Wed, 22 May 2013 14:38:08 +1200 Subject: [PATCH] Bug 10308 - local subjects can use authorities too This adds entries for 690-699 to the authorities linker, so they get linked up like everything else. To Test: * make sure your framework doesn't have 690 set up to link to authorities (or it'll get linked as part of cataloguing.) * add a subject with some term to the 690$a field. * add an authority for TOPIC_TERM with the matching term. * make sure zebra is up to date. * run link_bibs_to_authorities.pl over your system. * check that the authority is now linked to your record. * repeat with the other 69x fields if you like. Signed-off-by: Bernardo Gonzalez Kriegel Tested using 696a (PERSO_NAME). Works as described, no errors Signed-off-by: Katrin Fischer This works as described, but linked authorities won't search correctly when clicking on the link on the detail page, as the 69x $9 is not indexed. Signed-off-by: Tomas Cohen Arazi --- C4/Heading/MARC21.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm index 964e5fd724..cf4895931f 100644 --- a/C4/Heading/MARC21.pm +++ b/C4/Heading/MARC21.pm @@ -94,6 +94,12 @@ my $bib_heading_fields = { '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 }, + '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' }, -- 2.39.5