From 75317c81ddf00f9558ff0a5421abf48a4c538d8a 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. --- C4/Heading/MARC21.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm index 964e5fd..cf48959 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' }, -- 1.7.10.4