mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
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:
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user