Improved handling of search filters

Filter data generated in search view rather than hard-coded in
template, search-related url parameters now passed on to the API call