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:
parent
47d6725a72
commit
f72237a6c4
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ if( $op eq 'cud-delete_confirmed' && $id ) {
|
||||||
Koha::Z3950Server->new( $formdata )->store;
|
Koha::Z3950Server->new( $formdata )->store;
|
||||||
$template->param( msg_added => 1, msg_add => $formdata->{servername} );
|
$template->param( msg_added => 1, msg_add => $formdata->{servername} );
|
||||||
}
|
}
|
||||||
} else {
|
} elsif ($op eq 'cud-search') {
|
||||||
#use searchfield only in remaining operations
|
#use searchfield only in remaining operations
|
||||||
$searchfield = $input->param('searchfield') || '';
|
$searchfield = $input->param('searchfield') || '';
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<div class="form-content">
|
<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" />
|
<input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search" />
|
||||||
</div>
|
</div>
|
||||||
|
<input type="hidden" name="op" value="cud-search" />
|
||||||
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue