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

Fix filters boolean logic #38

Open
phoebus-84 opened this issue Dec 9, 2022 · 1 comment
Open

Fix filters boolean logic #38

phoebus-84 opened this issue Dec 9, 2022 · 1 comment

Comments

@phoebus-84
Copy link
Collaborator

On interfacer-gui we have a filters like this for resources: {notCustodian: id, orName: string, orNote: string}. It returns resources that respect the condition: notCoustodian or Name or Note. It would be useful to have something to express the statement: notCustodian and (name or note).

@densizengin
Copy link
Member

Yeah, it is sorta hard to get right. Those or* and not* prefixes were a quick workaround. I'll study and see what we can do about it.

At worst, we'll use a custom string format for the filters and parse it.

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