Trigger the filter on click of search button