Skip to content

Commit 2f6f4fb

Browse files
Fixed limit bug on "Attach Resource" screen
1 parent 9777b79 commit 2f6f4fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Orderable.php

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public static function orderedIndexQuery($query, $attribute)
7070
public static function applyQueryOrder($query, $attribute, $direction = 'asc')
7171
{
7272
$query->getQuery()->orders = [];
73+
$query->getQuery()->limit = null;
7374

7475
return $query->orderBy($attribute, $direction);
7576
}

0 commit comments

Comments
 (0)