gbif / hosted-portals

Support material for establishing the GBIF Hosted Portals
Apache License 2.0
10 stars 6 forks source link

Pattern search used in "Recorded By" filter not rejected for Download #173

Closed jholetschek closed 3 years ago

jholetschek commented 3 years ago

Freetext filters are not supported for downloads and will be automatically removed. If I use a pattern search for "recorded by", however, this doesn't happen. It seems to be working, but the resulting DwC archive is empty.

Examples: https://www.gbif.org/occurrence/download/0343887-200613084148143 https://www.gbif.org/occurrence/download/0343886-200613084148143

MortenHofft commented 3 years ago

This looks expected to me, but perhaps I'm misunderstanding.

There are no results matching recordedBy: "%willing%" https://www.gbif.org/occurrence/download/0343887-200613084148143

Neither are there on the website https://hp-herbarium-germany.gbif-staging.org/data?filter=eyJtdXN0Ijp7InJlY29yZGVkQnkiOlt7InR5cGUiOiJsaWtlIiwidmFsdWUiOiI%2Fd2lsbGluZz8ifV19fQ%3D%3D&view=TABLE

So that seems reasonable?

MortenHofft commented 3 years ago

Ahh - I now see the issue. When using *on the website it is mapped to % in downloads . I did that because the download API didn't work that way a month ago. But the issue has been fixed while I was on vacation. I will align with the new behaviour

jholetschek commented 3 years ago

Yes... It works on the website, but not in the download.

MortenHofft commented 3 years ago

It works now. Thanks for reporting

jholetschek commented 3 years ago

Thanks for fixing, Morten!