Skip to content

Commit 2cd0a08

Browse files
committed
store filters in session
Save the filter selection in the user session
1 parent 47de509 commit 2cd0a08

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/Filament/Resources/TicketResource/Pages/ListTickets.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ class ListTickets extends ListRecords
1111
{
1212
protected static string $resource = TicketResource::class;
1313

14+
protected function shouldPersistTableFiltersInSession(): bool
15+
{
16+
return true;
17+
}
18+
1419
protected function getActions(): array
1520
{
1621
return [

0 commit comments

Comments
 (0)