diff --git a/src/Orderable.php b/src/Orderable.php index ba09362..ae79d16 100644 --- a/src/Orderable.php +++ b/src/Orderable.php @@ -70,6 +70,7 @@ public static function orderedIndexQuery($query, $attribute) public static function applyQueryOrder($query, $attribute, $direction = 'asc') { $query->getQuery()->orders = []; + $query->getQuery()->limit = null; return $query->orderBy($attribute, $direction); }