Skip to content

Multiple _ne operators are ignored #929

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

Closed
uminder opened this issue Mar 14, 2019 · 4 comments · Fixed by #1013
Closed

Multiple _ne operators are ignored #929

uminder opened this issue Mar 14, 2019 · 4 comments · Fixed by #1013

Comments

@uminder
Copy link

uminder commented Mar 14, 2019

Using _ne operator, I can exclude a specific value. When chaining two _ne operators, they're both ignored.

GET /posts?id_ne=1&id_ne=5

@stushurik
Copy link

@uminder I experience the same behavior

@b4dnewz
Copy link

b4dnewz commented Mar 19, 2019

I can confirm right now is not supported but it's a cool feature
and it could be also GET /posts?id_ne=1,5 as csv array

@DuredhelFinceleb
Copy link

Same here and it's quite debilitating
It's a must have!

b4dnewz pushed a commit to codekraft-studio/json-server that referenced this issue Aug 22, 2019
When filtering with multiple _ne it should use logical AND instead of OR to verify that all checks succeed, close typicode#929
typicode pushed a commit that referenced this issue Sep 2, 2019
When filtering with multiple _ne it should use logical AND instead of OR to verify that all checks succeed, close #929
@uminder
Copy link
Author

uminder commented Sep 3, 2019

Thanks b4dnewz, I'll give it a try.

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

Successfully merging a pull request may close this issue.

4 participants