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

feat: add quick filter support for query params #74

Merged
merged 3 commits into from
Feb 3, 2022

Conversation

larizzatg
Copy link
Contributor

Add quick filters to be displayed next to the search button, this filters have the option to be active or inactive.
For now the quick-filters are only supported as a append-param, later we can add the (q) filter functionality.

Example
image

[
    {
        id: 1,
        name: "distributors",
        title: "With Distributors",
        active: false,
        getValue: (active) => active ? 0 : 1,
        appendParam: "unassigned"
    }
]

@SparoHawk SparoHawk merged commit 4ceea08 into development Feb 3, 2022
@SparoHawk SparoHawk deleted the quick-filters branch February 3, 2022 19:02
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 this pull request may close these issues.

None yet

2 participants