PageSearch with empty SearchQuery, how?

Vote:
 
Hi. I've put together a search function for searching a certain type of page types. It all works well but displays 0 results if SearchQuery is empty. Since it's a quite advanced search I don't want to force the users to use the SearchQuery if they have selected a bunch of other criterias to filter on. Any ideas how to get search results using PageSearch with an empty SearchQuery?
#13340
Mar 25, 2008 18:36
Vote:
 
Solved it... If the searchquery input is empty I instead retrieve all pages and set the collection as datasource for PageSearch. Not really a nice solution but it works :-)
#15620
Mar 25, 2008 18:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.