From 768b24af7805027f600b8137c1cdb7111e21eed8 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 14 Feb 2024 23:34:27 +0000 Subject: [PATCH] Bug 34478: Manual fix - Remove cud-search from z3950-admin-search.inc Convert POST to GET for z3950 server search Signed-off-by: Jonathan Druart --- admin/z3950servers.pl | 2 +- .../intranet-tmpl/prog/en/includes/z3950-admin-search.inc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index e0bbcbfefa..d1113c8b21 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} ); } -} elsif ($op eq 'cud-search') { +} elsif ($op eq '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 b23e7a9c08..1aa5529efc 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 @@ -3,8 +3,7 @@