Replace the separate search boxes with a query string.