From f72237a6c4490ffdf3863839082de305eb07257c Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 2 Feb 2024 03:17:53 +0000 Subject: [PATCH] Bug 34478: Manual fix - Add cud-search to z3950-admin-search.inc Signed-off-by: Jonathan Druart --- admin/z3950servers.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index d42d44d84a..e0bbcbfefa 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -81,7 +81,7 @@ if( $op eq 'cud-delete_confirmed' && $id ) { Koha::Z3950Server->new( $formdata )->store; $template->param( msg_added => 1, msg_add => $formdata->{servername} ); } -} else { +} elsif ($op eq 'cud-search') { #use searchfield only in remaining operations $searchfield = $input->param('searchfield') || ''; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc index 1519bbbb68..b23e7a9c08 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc @@ -12,7 +12,7 @@
- +