Fixing urls to submit search form from view page.