getEloquentQuery() in the RelationManager
I don't think that when a resource is being queried through a RelationManager, it the query via:
I've tried placing the same method in the ResourceRelationsManager to no avail.
Any ideas?
Solution:Jump to solution
This will work. ```return $table
->modifyQueryUsing(fn (Builder $query) => $query->where('is_active', true))
->columns([
// ...
]);...
3 Replies
Solution
This will work. ```return $table
->modifyQueryUsing(fn (Builder $query) => $query->where('is_active', true))
->columns([
// ...
]);
Thanks.