F
Filament6mo ago
Aziz

Distinct Values in a relationship filter

Hello everyone, i have a select filter with a relationship. How can i distinct my values? I tried it that way but it does not work: SelectFilter::make('nationality') ->label('Nationalität') ->relationship('ifatEntry', 'nationality', fn (Builder $query) => $query->distinct()) ]); } Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server