Skip to content

Commit

Permalink
Merge pull request #109 from laxman-ka/master
Browse files Browse the repository at this point in the history
fix: combine results for custom filters
  • Loading branch information
sankarsuda authored Jul 9, 2024
2 parents 3fdb061 + e8788b7 commit 9f79461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Concerns/Paging.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function complexPaginate($perPage = 15, $columns = ['*'], $pageName = 'pa
$limit = $perPage;

foreach ($tables as $table) {
$results->merge(
$results = $results->merge(
$this->skip($skip)
->take($limit)
->from($table)
Expand Down

0 comments on commit 9f79461

Please sign in to comment.