On clicking the Refresh Button to refresh types (data-id : refreshBtn) , makes the following 2 queries :
- Search query
Before the new search feature in place , only query no.1 was made.
In Advanced search tab , when refresh button is clicked without any type or query , following invalid query is made in addition to query no.1
which throws 500 Internal server error.