don't show the search button when the search is disabled