How to display all results if the text box is left empty when using Smart Search

HelenaG Grulichova asked on February 7, 2012 07:03

How to display all results if the text box is left empty when using Smart Search

Correct Answer

HelenaG Grulichova answered on February 7, 2012 07:03

Please add the following key to your web.config file:

<add key="CMSSearchOnlyWhenContentPresent" value="false" />

Now all the search results are displayed after the page is loaded, without having to enter anything into the search box. This can be used for a filter-based search, where only a filter is used to display the results.

-bp-
0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.