Skip to content

Commit 8e85ef2

Browse files
Fix gotoPage pageName (#1744)
1 parent b51e096 commit 8e85ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataSource/Processors/DataSourceBase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected function applyPerPage(EloquentBuilder|QueryBuilder|MorphToMany|ScoutBu
8282

8383
$count = $results->count(); // @phpstan-ignore-line
8484

85-
$this->component->gotoPage(1);
85+
$this->component->gotoPage(1, pageName: $pageName);
8686

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

0 commit comments

Comments
 (0)