From da50db52a0f44cc86d7c359931171dcd94016fa5 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. Signed-off-by: David Nind Signed-off-by: Fridolin Somers Signed-off-by: Tomas Cohen Arazi (cherry picked from commit a5dfa2d4901575c93d900f300fe5b5b2d7f178d4) Signed-off-by: Lucas Gass (cherry picked from commit ad213be29219c822a88fbf5fc7aaf6eb942280d7) Signed-off-by: Arthur Suzuki --- .../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.39.5