Hello,
I would like for the quick search mechanism to include the product description field in its normal default search functionality. I plan to not include the advanced search in my application at all. I analyzed the Advanced Search form and then added the following hidden field (see below) to the Quick Search form and it did not have the desired effect. Is there a way to achieve this? It certainly seems to me that searches should include the description fields by default. Many thanks in advance for any info on this.
<input name="searchInDescription" type="hidden" value="on">
Regards,
Nick Kelischek
Hi,
You should look at QuickSearchAction.java and AdvancedSearchSubmitAction.java to see the differences. What you need to do is to edit QuickSearchAction.java to set :
ps.setWhereToSearch(ProductSearch.SEARCH_IN_PRODUCT_DESCRIPTION);
-Pete
Worked like a charm. Many thanks...
--Nick