[Koha-bugs] [Bug 17511] Change authority linking subfield from $9 to $0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 7 13:41:31 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17511

Johanna Räisä <johanna.raisa at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114474|0                           |1
        is obsolete|                            |

--- Comment #27 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
Created attachment 114918
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114918&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 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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list