I am trying to set a default search value on a page with a view. There are almost 1000 items loading in the view otherwise and I would like to set a default search value for when the page loads so only a few entries show up. Alternatively we could also only show the filter and search options and only when the user filters the view or searches for a term then the view lists the relevant items for the first time.
I didn't find any information on this googling for it.
I would suggest that your proceed with having the search filters on a separate page and the results on a another.
This can be done when you are adding the view to the page, you will be presented with 3 options, Both search and results, Search only and results only.
All you need to do is to add the search only to on page and it will ask you what is the results page. From there you can add the results page.
Thx Shane. This works fine for now. But I could see scenarios where it would be nice to define a default search in the filters. But it sounds like there is no easy/standard way to do this?
Yes there is actually not an easy way to do this to have a default search filter, unless you will be using javascript to set the filter value each time the user loads the page and then perform the search after the page has been loaded.
Another way is that you can provide the default value as a URL parameter, however this means that the search would be clicked to from a specific link from that url parameter.