Redirect to the index page using the given sort parameter.
Clear the search input and the current controller's active search.
ProtectedclearRedirect to the index page without a search filter. This is called when the 'x' is clicked in the search box in the header.
ProtectedcurrProtectedintializeCheck if this query has been searched before.
Get parameters to be used in the current page.
Get URL parameters that stick between filter changes.
This can be used to generate a link that clears filters.
Mark that we have already searched for this query so that we don't have to ping the endpoint again.