diff --git a/src/DataSource/Processors/DataSourceBase.php b/src/DataSource/Processors/DataSourceBase.php index 196f99c4..321fda0b 100644 --- a/src/DataSource/Processors/DataSourceBase.php +++ b/src/DataSource/Processors/DataSourceBase.php @@ -82,7 +82,7 @@ protected function applyPerPage(EloquentBuilder|QueryBuilder|MorphToMany|ScoutBu $count = $results->count(); // @phpstan-ignore-line - $this->component->gotoPage(1); + $this->component->gotoPage(1, $pageName); return $results->$paginate($count ?: 10, pageName: $pageName); }