SharePoint search results

I didn't want that the search results were being loaded before I had fired of a query in the search box. To prevent SharePoint from starting you can use the Query below.


{?{SearchBoxQuery} (path:"<URL>") (IsDocument:"True" OR contentclass:"STS_ListItem")}


This way you can search in a specific library for a certain contenttype but it won't load the data till the SearchBox has been entered.

Comments