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

Support multiple possible values in a collection filter #7328

Open
paulroub opened this issue Nov 14, 2024 · 0 comments · May be fixed by #7329
Open

Support multiple possible values in a collection filter #7328

paulroub opened this issue Nov 14, 2024 · 0 comments · May be fixed by #7329
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@paulroub
Copy link

Is your feature request related to a problem? Please describe.

I have cases where I'd like a collection to be made of posts in one of a number of categories.

Describe the solution you'd like

I'd like to be able to say

    filter: { field: "category", value: ["music", "dev"] }

in a filter.

Describe alternatives you've considered

Not sure how to make this happen without restructuring my categories around Decap.

Additional context

I do have a PR ready for this, and will add a doc PR shortly.

@paulroub paulroub added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Nov 14, 2024
@martinjagodic martinjagodic linked a pull request Nov 15, 2024 that will close this issue
2 tasks
kyoshino added a commit to sveltia/sveltia-cms that referenced this issue Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant