[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
Wed Dec 16 12:45:30 CET 2020


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 #88049|0                           |1
        is obsolete|                            |

--- Comment #16 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
Created attachment 114433
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114433&action=edit
Bug 17511 - Authority linking subfield

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
8) Replace zebradb/marc_defs with new files or/and reset ES configurations.
9) Add new authority linking to a record.
10) Verify that the authority records ID is now on the chosen 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