When performing category-based searches, do not propagate the searches
into the search box on the home page, similar to the results page search
box.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
<form action="[% ctx.kpac_root _ '/results' %]">
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td valign="top">
- <div class="hp_search_box_wrapper"><input type="text" name="query" class="hp_search_box" value="[% CGI.param('query') | html %]"/></div>
+ <div class="hp_search_box_wrapper">
+ <input type="text" name="query" class="hp_search_box"
+ value="[% CGI.param('nosprop') ? '' : CGI.param('query') | html %]"/>
+ </div>
<table cellpadding="0" cellspacing="0" border="0" class="hp_search_st"><tr>
<td class="st_radio_btn"><input type="radio" name="qtype" value="keyword" id="st_word" class="st_word"
[% IF !qtype OR qtype == 'keyword' %]checked="checked"[% END %]/></td>