nbnuk / nbnatlas-issues

Issue tracking for NBN Atlases
https://nbnatlas.org
2 stars 0 forks source link

Error downloading facet result from records page filter #753

Closed sophiathirza closed 5 years ago

sophiathirza commented 5 years ago

I tried to download the list of data providers for this record search:

https://records-ws.nbnatlas.org/occurrences/facets/download?q=*%3A*&fq=geospatial_kosher%3Atrue&lat=56.70436&lon=-3.729711&radius=5.0%20AND%20geospatial_kosher:true&facets=data_provider_uid&count=true&lookup=true

using the download button in the facet dialogue box: image

The error was: The request sent by the client was syntactically incorrect.

reupost commented 5 years ago

Could you provide the URL for the records search, please? There is something wrong with the parameters that are listed above: if you remove the '%20AND%20geospatial_kosher:true' text it works correctly (geospatial_kosher is filtered earlier in the fq clause), so I need to figure out how that parameter was included

sophiathirza commented 5 years ago

That is the url for the record search - it's because I did a location search first and then viewed the records. The locations search must add the geospatial_kosher bit... really don't like that parameter name

sophiathirza commented 5 years ago

thanks.