Bug 29434: add UNIMARC relationship codes for authorities
authorAndreas Roussos <a.roussos@dataly.gr>
Mon, 8 Nov 2021 07:19:58 +0000 (08:19 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 30 Sep 2022 22:35:40 +0000 (22:35 +0000)
commitad213be29219c822a88fbf5fc7aaf6eb942280d7
treec6eee023599ad8df3724c5d65b1b15b3342312d9
parent9db482467503a6d0e8d2f3043e08358cea08bc27
Bug 29434: add UNIMARC relationship codes for authorities

When using the authority finder plugin (authorities/auth_finder.pl),
you can pick an entry from the 'Special relationship:' dropdown menu
in order to set the relationship between authorities.

However, in UNIMARC instances the relationship codes listed are those
for MARC21. The correct codes for UNIMARC are listed in pages 93-94
of the IFLA UNIMARC Manual for Authorities.

Test plan:

1) In a UNIMARC instance, launch authorities/auth_finder.pl in the
   Staff client, by clicking on the 'Tag editor' button. Notice how
   the 'Special relationship:' dropdown menu lists the relationship
   codes for MARC21 instead of UNIMARC.
2) Apply this patch.
3) Launch the authority finder again; this time the correct values
   should be listed in the 'Special relationship:' dropdown menu.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a5dfa2d4901575c93d900f300fe5b5b2d7f178d4)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc