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>
[% IF qtype == 'author' %]checked="checked"[% END %]/></td>
<td class="st_label st_author_box"><label for="st_author">[% l('Author') %]</label></td>
- <td><input type="text" class="search_box" name="query" value="[% CGI.param('query') | html %]"/></td>
+ <td><input type="text" class="search_box" name="query"
+ value="[% CGI.param('nosprop') ? '' : CGI.param('query') | html %]"/></td>
<td><input type="image" src="[% ctx.media_prefix %]/images/kpac/search_btn.png" alt="search" /></td>
</tr>
</table>