diff --git a/src/Repository.php b/src/Repository.php index de8e321..6118a57 100644 --- a/src/Repository.php +++ b/src/Repository.php @@ -153,7 +153,7 @@ public function paginateByFiltersWithAllRelations($filters = array(), $perPage = $query->where($field, $value); } - return $query->get($columns); + return $query->paginate($perPage, $columns); }