Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not filter based on date for ckan resources #28

Open
martinnaughton opened this issue Mar 15, 2018 · 0 comments
Open

can not filter based on date for ckan resources #28

martinnaughton opened this issue Mar 15, 2018 · 0 comments

Comments

@martinnaughton
Copy link
Contributor

This is because ckan has a bug when searching for date field which the team has raised.

ckan/ckan#4130

Once this is fixed the ckan query in the provider can be updated in this file
packages/lintol/capstone/src/CkanResourceProvider.php

Some thing like this is an example.Change it having variables for format and date.
$ckanData = collect($this->ckanClient->ResourceSearch(['query' => 'format:csv', 'query' => 'date:2018-03-03'])['result']['results'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant