From 878f941d62ff6b01cc4bb34f4b0e5ec036174367 Mon Sep 17 00:00:00 2001 From: Dave Etheridge Date: Thu, 16 Nov 2023 10:55:57 +0000 Subject: [PATCH] feature: Allow searching of Discord ID in Account list --- app/Filament/Resources/AccountResource.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/AccountResource.php b/app/Filament/Resources/AccountResource.php index f37d2764c4..d46eb298c6 100644 --- a/app/Filament/Resources/AccountResource.php +++ b/app/Filament/Resources/AccountResource.php @@ -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'),