Skip to content

Commit

Permalink
fix: combine results for custom filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakshmi Narayana Kadiyam committed Jul 9, 2024
1 parent 783529b commit e8788b7
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 e8788b7

Please sign in to comment.