On the webshop that I'm working on, the user can find products by choosing filters (attributes like color/size/category) and/or entering a search query, the search results are then displayed on the search results page. However, when the search text is left empty, Magento redirects to the homepage instead of showing results, even if other filters are filled in.
In the admin, I have set the 'Minimal Query Length' to 0, but this doesn't make any difference.
I've created a workaround by setting the search param to '0' before submitting when left empty, which will make Magento display all the products anyway. But it's not a great solution because the string '0' appears everywhere on the page including in the popular search block in the admin page.
Is there an elegant way to solve this issue without having to override all kinds of core classes?
You can find a demo of the problem here, if you replace the 'q=watch' by 'q=' I want it to show all the products.