I have a parent resource. lets say team and inside team resouce detail page i am showing other rosources for example audience resouce by using following code.
HasMany::make('Audiences')
Now this audience resource is visible with a search bar inside team resouce detail page. But when i try to search anything on the search bar. It's searching all the data inside Audience table instead it should search for those audiences which are connected to this team.
Any help would great. Thank you.
Audiencesnova resource?where ... AND (... OR ...)