make search and advanced search use the same input form