nova-attach-many icon indicating copy to clipboard operation
nova-attach-many copied to clipboard

relatablequery not working

Open yehudahkay opened this issue 2 years ago • 3 comments

Hi, my results are not being filtered based on the relatable query. I am using the latest version of nova and of this package.

yehudahkay avatar Feb 15 '23 12:02 yehudahkay

I am having the same issue.

mlordi avatar Feb 27 '23 14:02 mlordi

Same issue for me.

fredchess avatar Mar 18 '23 14:03 fredchess

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(); }

marventhieme avatar Apr 27 '23 08:04 marventhieme