From 4bc3e570ee6541ea0f519d397bdb7447902088b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Stahorszki?= <152993545+ropi-bc@users.noreply.github.com> Date: Sat, 11 Apr 2026 13:53:56 +0200 Subject: [PATCH] Only set default page size if it isn't already set (#19661) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: László Stahorszki <152993545+ropi-bc@users.noreply.github.com> Co-authored-by: Dan Harrin --- packages/tables/src/Concerns/InteractsWithTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tables/src/Concerns/InteractsWithTable.php b/packages/tables/src/Concerns/InteractsWithTable.php index dde4670ae4..ffe368649a 100644 --- a/packages/tables/src/Concerns/InteractsWithTable.php +++ b/packages/tables/src/Concerns/InteractsWithTable.php @@ -157,7 +157,7 @@ trait InteractsWithTable } if ($this->getTable()->isPaginated()) { - $this->tableRecordsPerPage = $this->getDefaultTableRecordsPerPageSelectOption(); + $this->tableRecordsPerPage ??= $this->getDefaultTableRecordsPerPageSelectOption(); } }