Don't forget to clear the search input when details link is clicked