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
Jan 29, 2008 17:18
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
Jan 29, 2008 17:58
* 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.