https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17511 Johanna Räisä <johanna.raisa@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #114918|0 |1 is obsolete| | --- Comment #32 from Johanna Räisä <johanna.raisa@koha-suomi.fi> --- Created attachment 115002 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115002&action=edit 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 sample files from second patch 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 -- You are receiving this mail because: You are watching all bug changes.