Skip to content

Commit

Permalink
feature: Allow searching of Discord ID in Account list
Browse files Browse the repository at this point in the history
  • Loading branch information
detheridge02 committed Nov 16, 2023
1 parent 9d3caf5 commit 878f941
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Filament/Resources/AccountResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('id')->sortable()->searchable()->label('ID'),
Tables\Columns\TextColumn::make('id')->sortable()->searchable()->label('CID'),
Tables\Columns\TextColumn::make('discord_id')->searchable()->label('Discord ID')->toggleable(),
Tables\Columns\TextColumn::make('name')->sortable()->searchable(['name_first', 'name_last']),
Tables\Columns\TextColumn::make('qualification_atc')->sortable()->label('ATC Rating'),
Tables\Columns\TextColumn::make('qualification_pilot')->sortable()->label('Pilot Rating'),
Expand Down

0 comments on commit 878f941

Please sign in to comment.