From 8a9966e69e181cf0cb49aee2f4ffeb5430a01792 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 25 Oct 2021 14:32:07 +0000 Subject: [PATCH] Bug 28453: DO NOT PUSH - FOR MARC21 TESTING ONLY This patch changes the authority type searched by the UNIMARC 210$c plugin from EDITORS to PERSO_NAME in order to try to make it more easily testable by MARC21 users. FOR TESTING ONLY!! --- cataloguing/value_builder/unimarc_field_210c.pl | 2 +- .../en/modules/cataloguing/value_builder/unimarc_field_210c.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cataloguing/value_builder/unimarc_field_210c.pl b/cataloguing/value_builder/unimarc_field_210c.pl index c9e1ebbcf8..2d7f582206 100755 --- a/cataloguing/value_builder/unimarc_field_210c.pl +++ b/cataloguing/value_builder/unimarc_field_210c.pl @@ -101,7 +101,7 @@ my ($input) = @_; my $from = $offset + 1; my $to = ( $offset + $resultsperpage > $total ) ? $total : $offset + $resultsperpage; - my $link="../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_210c.pl&authtypecode=EDITORS&".join("&",map {"value=".$_} @value)."&op=do_search&type=intranet&index=$index"; + my $link="../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_210c.pl&authtypecode=PERSO_NAME&".join("&",map {"value=".$_} @value)."&op=do_search&type=intranet&index=$index"; $template->param(result => $results) if $results; $template->param('index' => scalar $query->param('index')); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt index 04787c7236..a9f27410c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt @@ -16,7 +16,7 @@ - + -- 2.20.1