Do not persist WAF table column visibility
This commit is contained in:
@@ -488,6 +488,7 @@ class Waf extends Page implements HasForms, HasTable
|
|||||||
public function table(Table $table): Table
|
public function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
|
->persistColumnsInSession(false)
|
||||||
->paginated([25, 50, 100])
|
->paginated([25, 50, 100])
|
||||||
->defaultPaginationPageOption(25)
|
->defaultPaginationPageOption(25)
|
||||||
->records(function (?array $filters, ?string $search, int|string $page, int|string $recordsPerPage, ?string $sortColumn, ?string $sortDirection) {
|
->records(function (?array $filters, ?string $search, int|string $page, int|string $recordsPerPage, ?string $sortColumn, ?string $sortDirection) {
|
||||||
|
|||||||
Reference in New Issue
Block a user