Skip to content

Commit

Permalink
Make Component and Group names sortable
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jan 20, 2025
1 parent ccd924a commit 4afdb25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Filament/Resources/ComponentGroupResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public static function table(Table $table): Table
->columns([
Tables\Columns\TextColumn::make('name')
->label(__('cachet::component_group.list.headers.name'))
->sortable()
->searchable(),
Tables\Columns\TextColumn::make('visible')
->label(__('cachet::component_group.list.headers.visible'))
Expand Down
1 change: 1 addition & 0 deletions src/Filament/Resources/ComponentResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public static function table(Table $table): Table
->columns([
Tables\Columns\TextColumn::make('name')
->label(__('cachet::component.list.headers.name'))
->sortable()
->searchable(),
Tables\Columns\TextColumn::make('status')
->label(__('cachet::component.list.headers.status'))
Expand Down

0 comments on commit 4afdb25

Please sign in to comment.