Skip to content

Commit 3db9507

Browse files
authored
Merge pull request #307 from ploi/votes-sortable
Votes in inbox sortable
2 parents 7ff1bcc + 5fa4a1a commit 3db9507

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Filament/Resources/InboxResource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ public static function table(Table $table): Table
7777
TextColumn::make('comments_count')
7878
->label(ucfirst(trans_choice('messages.comments', 2)))
7979
->counts('comments')
80+
->sortable()
8081
->toggleable(),
8182

8283
TextColumn::make('votes_count')
8384
->label(ucfirst(trans_choice('messages.votes', 2)))
8485
->counts('votes')
86+
->sortable()
8587
->toggleable(),
8688

8789
TextColumn::make('user.name')

0 commit comments

Comments
 (0)