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

negative URL filter returns incorrect results #87

Closed
mguthrie88 opened this issue Nov 19, 2024 · 0 comments
Closed

negative URL filter returns incorrect results #87

mguthrie88 opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@mguthrie88
Copy link
Member

When attempting to filter out admin identities from the API response, the != URL filter is returning the incorrect number of results. When I use the positive version of the filter I get the correct number.

I have 153 identities, 22 of them are admin identities with my specified authPolicyId.

When I call the URL with:
filter=authPolicyId=%22OmTOhnWgto0R49LfzvFiA%22- returns 22 identities as expected

filter=authPolicyId!=%22OmTOhnWgto0R49LfzvFiA%22 - returns only 65 identities, I would expect it to return 131 identities.

The issue seems isolated to the negative filter, somehow it is filtering out more results than desired.

@plorenz plorenz transferred this issue from openziti/ziti Nov 19, 2024
@plorenz plorenz self-assigned this Nov 19, 2024
plorenz added a commit that referenced this issue Nov 19, 2024
Have != return true when compared to nil. Fixes #87
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

2 participants