Skip to content

Commit 4afdb25

Browse files
committed
Make Component and Group names sortable
1 parent ccd924a commit 4afdb25

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Filament/Resources/ComponentGroupResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public static function table(Table $table): Table
5454
->columns([
5555
Tables\Columns\TextColumn::make('name')
5656
->label(__('cachet::component_group.list.headers.name'))
57+
->sortable()
5758
->searchable(),
5859
Tables\Columns\TextColumn::make('visible')
5960
->label(__('cachet::component_group.list.headers.visible'))

src/Filament/Resources/ComponentResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public static function table(Table $table): Table
6363
->columns([
6464
Tables\Columns\TextColumn::make('name')
6565
->label(__('cachet::component.list.headers.name'))
66+
->sortable()
6667
->searchable(),
6768
Tables\Columns\TextColumn::make('status')
6869
->label(__('cachet::component.list.headers.status'))

0 commit comments

Comments
 (0)