mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update packages/widgets/src/TableWidget.php
This commit is contained in:
@@ -35,7 +35,7 @@ class TableWidget extends Widget implements Actions\Contracts\HasActions, Forms\
|
||||
{
|
||||
return $query->simplePaginate(
|
||||
perPage: ($this->getTableRecordsPerPage() === 'all') ? $query->count() : $this->getTableRecordsPerPage(),
|
||||
pageName: $this->getTablePaginationPageName()
|
||||
pageName: $this->getTablePaginationPageName(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user