Skip to content

Commit

Permalink
Update searchable column
Browse files Browse the repository at this point in the history
  • Loading branch information
cannycookie committed May 20, 2024
1 parent ceff550 commit c62b978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/ConsentOptionResponseResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function table(Table $table): Table
->sortable(),
Tables\Columns\TextColumn::make('consentable.full_name')
->label('Username')
->searchable(),
->searchable(['consentable.primary_contact.full_name']),
Tables\Columns\TextColumn::make('consentable_type')
->label('User type')
->formatStateUsing(fn (string $state): string => config('filament-user-consent.options')[$state])
Expand Down

0 comments on commit c62b978

Please sign in to comment.