Alias the "root" of a o2m to the ID of the related collection #4236
ghost
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
So I have a collection setup called Customers and this has a O2M link to the Directus Users table (Multiple Users to one Customer but the user can only link one Customer linked) when trying to filter for the user I found it did not work.
I asked the Discord Community for help and Rijk gave me a hand with the issue at hand. After some diagnosing and instead of calling the filter
?filter[linked_accounts][_eq]={{ID}}we ended up having to call the filter?filter[linked_accounts][id][_eq]={{ID}}so he asked if I could open a feature request and hear I am 😃Link to the Database Relation and expected Filter call image also shared on Discord: https://ibb.co/dbC2vLh
All reactions