display the query on the search page