Skip to content

Commit cdc5464

Browse files
author
Yoel Monzon
committed
[add] fix function paginate by filter
1 parent 11146e8 commit cdc5464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function paginateByFiltersWithAllRelations($filters = array(), $perPage =
153153
$query->where($field, $value);
154154
}
155155

156-
return $query->get($columns);
156+
return $query->paginate($perPage, $columns);
157157
}
158158

159159

0 commit comments

Comments
 (0)