Update packages/widgets/src/TableWidget.php

This commit is contained in:
oddvalue
2024-07-26 11:38:19 +01:00
committed by GitHub
parent 6fc2c0b526
commit 54022487dc
+1 -1
View File
@@ -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->getIdentifiedTableQueryStringPropertyNameFor('page')
pageName: $this->getTablePaginationPageName()
);
}