adding ability to make the search to return biblios with no items by using a hidden field

- if this functionality is not needed for ones koha then deleting the 'acq_search' line will let the search behave as before
This commit is contained in:
bob_lyon 2006-09-05 21:30:58 +00:00
parent 976e6d8b5c
commit 3915174372
2 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@
<form action="/cgi-bin/koha/acqui/newbasket2.pl" method="post">
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->">
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
<input type="hidden" name="acq_search" value="1">
<p>from an existing biblio: </b><input type="text" size="25" name="search"><input type="submit" class="button acquisition" value="Search"></p>
<p>or
<a href="/cgi-bin/koha/acqui/suggestion-select.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">

View File

@ -9,6 +9,7 @@
<form action="/cgi-bin/koha/acqui/newbasket2.pl">
<input type="hidden" name="booksellerid" value=<!-- TMPL_VAR NAME="booksellerid" -->>
<input type="hidden" name="basketno" value=<!-- TMPL_VAR NAME="basketno" -->>
<input type="hidden" name="acq_search" value="1">
<b>New Search: </b><input="text" size="25" name="search">
<input type="submit" value="Search" class="button acquisition">
</form>