Skip to content

Commit

Permalink
Fix gotoPage pageName
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Oct 19, 2024
1 parent b51e096 commit 5b1cf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataSource/Processors/DataSourceBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: $pageName);

return $results->$paginate($count ?: 10, pageName: $pageName);
}
Expand Down

0 comments on commit 5b1cf0c

Please sign in to comment.