Bug 34478: Manual fix - Add cud-search to z3950-admin-search.inc

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
David Cook 2024-02-02 03:17:53 +00:00 committed by Jonathan Druart
parent 47d6725a72
commit f72237a6c4
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0
2 changed files with 2 additions and 2 deletions

View file

@ -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') || '';
}

View file

@ -12,7 +12,7 @@
<div class="form-content">
<input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search" />
</div>
<input type="hidden" name="op" value="cud-search" />
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
</form>
</div>