Skip to content

Commit 48ba4ba

Browse files
committed
Set Filament default pagination to 50
1 parent 525045e commit 48ba4ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/Providers/AppServiceProvider.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use App\Enums\Environment;
66
use App\Models\User;
7+
use Filament\Tables\Table;
78
use Illuminate\Http\Client\RequestException;
89
use Illuminate\Http\Resources\Json\JsonResource;
910
use Illuminate\Support\Facades\URL;
@@ -30,6 +31,10 @@ public function boot(): void
3031

3132
Vite::useAggressivePrefetching();
3233

34+
Table::configureUsing(function (Table $table): void {
35+
$table->defaultPaginationPageOption(50);
36+
});
37+
3338
Health::checks([
3439
UsedDiskSpaceCheck::new(),
3540
DatabaseCheck::new(),

0 commit comments

Comments
 (0)