How to use deep relations in filters in the V3 Table Builder?
Is there a way to use deep relations in filters in V3? I have the following relation:
News => belongsToMany => players => belongsTo => playerCategory
Which is defined in the News Model like this (and works):
I want to add a Filter for playerCategories in the News table builder component. I tried this:
And got this error:
Does anyone know how to achieve this? Thanks π
Solution:Jump to solution
I don't think
->relationship()
supports HasManyDeep
You have to provide ->options()
& ->query()
manually...2 Replies