Koha/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc
Paul POULAIN 38884abf65 reverting defaut-search-on-kw-wrdl and doing it elsewhere
The patch default search on kw-wrdl is bugguy, as there ca be 2 idx (maybe an API limit,not sure)

So i've reverted it and added kw,wrdl on every place there is a query (the search boxes)

QUESTION : isn't it possible to have a single query for catalogue, that is TMPL_INCLUDE'd ?

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:07:22 -05:00

26 lines
No EOL
1.3 KiB
HTML

<!-- Begin Circulation Resident Search Box -->
<div id="header_search">
<div id="circ_search" class="residentsearch">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<label for="findborrower"> </label>
<input id="findborrower" name="findborrower" size="40" class="focus" type="text" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
<input value="Submit" type="submit" />
</form>
</div>
<div id="catalog_search" class="residentsearch">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="hidden" name="idx" value="kw,wrdl" />
<input type="submit" name="op" id="opac-submit" value="Submit" class="form-submit" />
</form>
</div>
<ul>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li class="tabs-selected"><a href="/cgi-bin/koha/catalogue/advsearch.pl#catalog_search">Search the Catalog</a></li>
</ul>
</div>
<!-- End Circulation Resident Search Box -->