change search url on detail view