https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17511 --- Comment #28 from Johanna Räisä <johanna.raisa@koha-suomi.fi> --- (In reply to Johanna Räisä from comment #27)
Created attachment 114918 [details] [review] Bug 17511 - Authority linking subfield
Koha uses $9 subfield for linking authority records. MARC21 format says the subfield should be $0. This commit will add a system preference AuthoritySubfieldLink which is used to define the linking subfield. The default subfield is set to $9.
To change the old linkings run batchAuthorityLinking.pl, modify index mappings and reindex.
TEST PLAN: 1) Add new authority linking to a record. 2) Verify that the authority records ID is on $9 subfield. 3) Check index that authority has one record chosen. 4) Apply the patch. 5) Check AuthoritySubfieldLink to be 9. 6) Repeat steps 1, 2 and 3. 7) Change the preference value to 0 8) Replace zebra defs and elastic mapping file with the commit sample files for testing. 9) Add new authority linking to a record. 10) Verify that the authority records ID is now on the $0 subfield. 11) Check index again that authority has record chosen.
Sponsored-by: Koha-Suomi Oy
I added only indexing file samples to this patch. Have to think how the URI would work with indexing. -- You are receiving this mail because: You are watching all bug changes.