From c339ea7e7ddef4bd04c363961a79007d762c0434 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Mon, 8 Nov 2021 08:19:58 +0100 Subject: [PATCH] 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. --- .../prog/en/includes/auth-finder-search.inc | 41 ++++++++++++++----- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc index 9453e3f40b..4f742e2b92 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc @@ -1,3 +1,4 @@ +[% USE Koha %] [% PROCESS 'form-blocks.inc' %]
@@ -143,16 +144,36 @@ -- 2.20.1