nova-attach-many
nova-attach-many copied to clipboard
relatablequery not working
Hi, my results are not being filtered based on the relatable query. I am using the latest version of nova and of this package.
I am having the same issue.
Same issue for me.
Works for me. I use it like this:
AttachMany::make(__('Recipients'), 'recipients', User::class)
And the relatable query looks like this:
public static function relatableUsers(NovaRequest $request, $query): Builder { return $query->nonAdmin(); }