Bugzilla – Attachment 29881 Details for
Bug 10308
Authorities linker should handle the "local subject added entry" fields.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10308 - local subjects can use authorities too
PASSED-QA-Bug-10308---local-subjects-can-use-autho.patch (text/plain), 2.27 KB, created by
Katrin Fischer
on 2014-07-20 18:29:53 UTC
(
hide
)
Description:
[PASSED QA] Bug 10308 - local subjects can use authorities too
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-07-20 18:29:53 UTC
Size:
2.27 KB
patch
obsolete
>From 580b43d7429e6e7f54b4b0e7b764be8fdfd42633 Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Wed, 22 May 2013 14:38:08 +1200 >Subject: [PATCH] [PASSED QA] 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 <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. >--- > 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.9.1
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 10308
:
18297
|
29157
| 29881