Bug 10308 - local subjects can use authorities too
authorRobin Sheat <robin@catalyst.net.nz>
Wed, 22 May 2013 02:38:08 +0000 (14:38 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 1 Sep 2014 13:45:07 +0000 (10:45 -0300)
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 <bgkriegel@gmail.com>
Tested using 696a (PERSO_NAME). Works as described, no errors

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
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 <tomascohen@gmail.com>

C4/Heading/MARC21.pm

index 964e5fd..cf48959 100644 (file)
@@ -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' },