FAIRiCUBE / catalog

Containing meta-data about the data collections available within FAIRiCUBE, both core ones as well as the ones provided by users
https://catalog.fairicube.eu/
Apache License 2.0
0 stars 2 forks source link

Filter functionality in Catalog down? #20

Closed KathiSchleidt closed 1 month ago

KathiSchleidt commented 1 month ago

@baloola I just noticed that the additional filters are not working, added Title, filtered for %LGN%, got everything.

baloola commented 1 month ago

Screenshot from 2024-05-30 20-06-23 I can see it's working

KathiSchleidt commented 1 month ago

grafik

Request copied out from browser (response partially visible in screen shot above):

curl 'https://stacapi.eoxhub.fairicube.eu/collections/index/items?limit=12&filter-lang=cql2-text&filter=title+ILIKE+%27%25LGN%25%27' --compressed -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0' -H 'Accept: application/geo+json' -H 'Accept-Language: en,de;q=0.7,en-US;q=0.7,es;q=0.2,fr;q=0.2,it;q=0.2,ro;q=0.2' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Origin: https://catalog.eoxhub.fairicube.eu' -H 'Connection: keep-alive' -H 'Referer: https://catalog.eoxhub.fairicube.eu/' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-site' -H 'Priority: u=1' -H 'TE: trailers'

baloola commented 1 month ago

aha, I see, this is a bit confusing I admit. So you are using the collection filtering feature (button highlighted on the right in the picture below) in stac-browser, while the solution that was implemented (title search) is using search functionality (left ). Both components apparently are using the same filters list (even though they shouldn't). Screenshot from 2024-05-30 22-35-50

KathiSchleidt commented 1 month ago

Thanks!

Issues at Item Level in #21