Skip to content

Commit b51e096

Browse files
Fix perPage All click (#1742)
* Fix perPage All click * Fix perPage All click
1 parent 12fd5b3 commit b51e096

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DataSource/Processors/DataSourceBase.php

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

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

85+
$this->component->gotoPage(1);
86+
8587
return $results->$paginate($count ?: 10, pageName: $pageName);
8688
}
8789

0 commit comments

Comments
 (0)