Skip to content

Commit 2fce5b6

Browse files
committed
Add "All" table pagination option
1 parent 3c868e3 commit 2fce5b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Providers/AppServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public function boot(): void
3030
Vite::useAggressivePrefetching();
3131

3232
Table::configureUsing(function (Table $table): void {
33-
$table->defaultPaginationPageOption(50);
33+
$table
34+
->defaultPaginationPageOption(50)
35+
->paginationPageOptions([5, 10, 25, 50, 'all']);
3436
});
3537

3638
Health::checks([

0 commit comments

Comments
 (0)