ckan / ckanext-dcat

CKAN ♥ DCAT
https://docs.ckan.org/projects/ckanext-dcat
165 stars 145 forks source link

Add `q` and `fq` parameter to catalog endpoint #151

Closed metaodi closed 5 years ago

metaodi commented 5 years ago

The action dcat_catalog_show currently allows to pass the q and fq parameters to limit the catalog output with a search query (i.e. only certain tags or organizations). Unfortunately the catalog endpoint (/catalog.(xml|rdf|ttl)) does not expose these parameters (i.e. they are not passed to the dcat_catalog_show action call).

I propose to change that, so that when harvesting an instance using it's catalog endpoint, it's possible to limit the returned datasets based on a search query/filter query.