Skip to content

Commit

Permalink
Fix gotoPage pageName (#1744)
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev authored Oct 19, 2024
1 parent b51e096 commit 8e85ef2
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 8e85ef2

Please sign in to comment.