From b7653f600ee10877167bb2ce278726e39e01335c Mon Sep 17 00:00:00 2001 From: Vasyka Date: Tue, 8 Sep 2026 05:59:03 +0000 Subject: [PATCH] Disable pagination on labor catalog so all categories are visible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With collapsedGroupsByDefault() the 386 rows are fetched but not rendered in DOM until expanded — no perf issue, all 17 group headers now visible without needing to navigate pages. Co-Authored-By: Claude Sonnet 4.6 --- app/Filament/Tenant/Resources/LaborResource.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/Tenant/Resources/LaborResource.php b/app/Filament/Tenant/Resources/LaborResource.php index 3346775..46dd64d 100644 --- a/app/Filament/Tenant/Resources/LaborResource.php +++ b/app/Filament/Tenant/Resources/LaborResource.php @@ -128,7 +128,8 @@ class LaborResource extends Resource }), ]) ->defaultGroup('category') - ->collapsedGroupsByDefault(); + ->collapsedGroupsByDefault() + ->paginated(false); } public static function getRelations(): array