SharePoint 2013 Search Results Query Not Working

Problem: You add a Search Results webpart to a page and using the query builder configure the results to retrieve and the format in which to sort or filter them.  In the preview on the query builder the query appears to be returning the correct results, in the sorted format desired, but when you save and close the page the results are not sorting.

Solution: Create a Result Source on the site collection that has the same query.  Then go to the page with the Search Results webpart and in the query builder choose the newly created Result Source where you “Select a query”.  Save and close the page and the query should now return the expected results in the sorting format desired.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s