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

Feature: (Nested) or-filters #188

Open
tada5hi opened this issue Feb 14, 2023 · 1 comment
Open

Feature: (Nested) or-filters #188

tada5hi opened this issue Feb 14, 2023 · 1 comment

Comments

@tada5hi
Copy link
Owner

tada5hi commented Feb 14, 2023

  • Add the ability to create (nested) or filter groups
@tada5hi
Copy link
Owner Author

tada5hi commented Feb 27, 2023

Schema:

  • filter[<parameter>]=<value>
  • filter[<group-id>+.<parameter>]=<value>

Example:

  • filter[0.age]=30&filter[1.age]=20: age === 20 || age === 30
  • filter[0.name]=admin&filter[10.age]=30&filter[11.age]=20: name === 'admin' || (age === 20 || age == 30)
  • filter[0.name]=admin&filter[10.status]=active&filter[10.age]=>20: name === 'admin' || (active && age > 20)

@tada5hi tada5hi changed the title Feature: (Nested) or-filters Feature: (Nested) or-filterss Sep 2, 2023
@tada5hi tada5hi changed the title Feature: (Nested) or-filterss Feature: (Nested) or-filters Sep 2, 2023
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