noi-techpark / it.bz.opendatahub.databrowser

Explore and navigate through Open Data you need to build your next service.
https://databrowser.opendatahub.com
GNU Affero General Public License v3.0
9 stars 7 forks source link

As an Open Data Hub Data Browser user I want to filter all element that contains a certain value, to easily find what I'm looking for. #424

Closed sseppi closed 12 months ago

sseppi commented 1 year ago

As you can see in the documentation linked below, a new feature has been added to the rawfilter has been added.

https://github.com/noi-techpark/odh-docs/wiki/Using-rawfilter-and-rawsort-on-the-Tourism-Api

The rawfilter includes now the features like (for strings) and likein (for array of strings) that allows the user to filter out all elements that contains a certain substrings in a field or in array.

I post here below the example that returns all eventShort that in the Title contains "SFS": https://databrowser.opendatahub.testingmachine.eu/dataset/table/tourism/v1/EventShort?source=eurac&rawfilter=and(like(EventTitle.en,%27SFS%27))

I post here below the example that returns all EventShort that has a language that contans "d": https://databrowser.opendatahub.testingmachine.eu/dataset/table/tourism/v1/EventShort?rawfilter=and(likein(HasLanguage.[*],%27d%27))

TODO: include the like and likein operators in the filter options (see screenshot below).

Image

gappc commented 12 months ago

Done as of 638c4f6

sseppi commented 12 months ago

Super that is a great news! I will test the functionality and close the issue!