Skip to content

Commit

Permalink
[add] fix function paginate by filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoel Monzon committed Oct 21, 2015
1 parent 11146e8 commit cdc5464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function paginateByFiltersWithAllRelations($filters = array(), $perPage =
$query->where($field, $value);
}

return $query->get($columns);
return $query->paginate($perPage, $columns);
}


Expand Down

0 comments on commit cdc5464

Please sign in to comment.