auto submit the search from the detail page