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

Issue: [BUG] Filtering on field with multiple values does not work as expected #895

Open
icytree opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@icytree
Copy link

icytree commented Dec 16, 2024

Describe the bug
When trying to filter files with multiple values for a given field, the filter display the combinaison of all the values of the field. See example bellow (screenshots).

To Reproduce
Steps to reproduce the behavior:

  1. Create a field (tried with choice multiple and taxonomy)
  2. Set up filter for this field
  3. Go to dashboard and try to add a filter on this field.

Expected behavior
Having the filter consider each value independently.

Screenshots

image

image

Device:

  • OS: Win10
  • Front Matter CMS Version 10.6.0
  • Edge
@icytree icytree added the bug Something isn't working label Dec 16, 2024
@estruyf
Copy link
Owner

estruyf commented Dec 17, 2024

Thanks @icytree for opening the issue.

@icytree
Copy link
Author

icytree commented Dec 17, 2024

My pleasure! Very nice tool you've built here. As a side note, I did some more testing and the issue does not arise for the tags and categories fields but if I provide them with an alternative title when setting them up as filters for the Dashboard, it reverts to combining the values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants