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

App-Filter _some and _none missing #19890

Open
Dominic-Marcelino opened this issue Oct 3, 2023 · 4 comments · May be fixed by #20265
Open

App-Filter _some and _none missing #19890

Dominic-Marcelino opened this issue Oct 3, 2023 · 4 comments · May be fixed by #20265

Comments

@Dominic-Marcelino
Copy link
Contributor

Describe the Bug

When filtering a o2m field the API allows to define if we'd folter for _some or _none.
In the App this is completely missing.

Maybe related to #14228

To Reproduce

Try to filter for a o2m field with a _none rule

Directus Version

10.6.3

Hosting Strategy

Self-Hosted (Custom)

@Dominic-Marcelino
Copy link
Contributor Author

Dominic-Marcelino commented Oct 3, 2023

This could also be a discussion for a feature request, but as all other operators are available within the app this felt more like an issue / missing feature to me. Feel free to convert to a discussion you see it different :)

@rijkvanzanten
Copy link
Member

rijkvanzanten commented Oct 4, 2023

This could also be a discussion for a feature request, but as all other operators are available within the app this felt more like an issue / missing feature to me

Agreed! That also leaves me with the Should I label this as a Bug or Improvement question :)

@rijkvanzanten
Copy link
Member

As for implementation, when you select a O2M field, it should render similar to a group so we can toggle between the three states. Logical AND as example:

CleanShot 2023-10-04 at 14 57 31@2x

@Nitwel Nitwel self-assigned this Oct 31, 2023
@Nitwel Nitwel linked a pull request Oct 31, 2023 that will close this issue
@gla23
Copy link

gla23 commented Jan 24, 2024

This feature has my vote!

I came across it while making my first Directus project. Directus did everything I needed it to do within the app (I could make bookmarks for some helpful queries) except that for my final query I needed _none on a o2m. I ended up doing it through the REST API on a simple HTML doc, but it would have been really great for this to have been in the app itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🙅 Blocked
Development

Successfully merging a pull request may close this issue.

4 participants