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

Support multiple filters of the same type #288

Closed
simonw opened this issue May 26, 2018 · 3 comments
Closed

Support multiple filters of the same type #288

simonw opened this issue May 26, 2018 · 3 comments

Comments

@simonw
Copy link
Owner

@simonw simonw commented May 26, 2018

This should work for example:

https://fivethirtyeight.datasettes.com/fivethirtyeight-5de27e3/biopics%2Fbiopics?year_release__not=2014&year_release__not=2015

@simonw
Copy link
Owner Author

@simonw simonw commented May 26, 2018

This might also be an opportunity to support an __in= operator - though that's an odd one as it acts equivalent to an OR whereas every other parameter is combined with an AND

UPDATE 15th April 2019: I implemented ?column__in= in a different way, see #433

@simonw simonw added the medium label May 28, 2018
@simonw simonw added the feature label Jun 21, 2018
@simonw simonw added this to the Next release milestone Jul 24, 2018
@simonw
Copy link
Owner Author

@simonw simonw commented Apr 15, 2019

This has got more urgent now that I've added the ?column__arraycontains=foo filter as part of the effort to implement facet-by-array for #359

I added that filter in 78e45ea but it can only be applied once - for proper faceting this needs to work:

https://latest.datasette.io/fixtures/facetable?tags__arraycontains=tag1&tags__arraycontains=tag2

@simonw
Copy link
Owner Author

@simonw simonw commented Apr 15, 2019

simonw added a commit that referenced this issue Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant