Only set default page size if it isn't already set (#19661)

Signed-off-by: László Stahorszki <152993545+ropi-bc@users.noreply.github.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
This commit is contained in:
László Stahorszki
2026-04-11 12:53:56 +01:00
committed by GitHub
co-authored by Dan Harrin
parent cf1d52dda4
commit 4bc3e570ee
@@ -157,7 +157,7 @@ trait InteractsWithTable
}
if ($this->getTable()->isPaginated()) {
$this->tableRecordsPerPage = $this->getDefaultTableRecordsPerPageSelectOption();
$this->tableRecordsPerPage ??= $this->getDefaultTableRecordsPerPageSelectOption();
}
}