Skip to content

Commit

Permalink
Increases pagination limit to 999999 for IP Addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
AnushK-Fro authored Nov 10, 2024
1 parent c431a7b commit 3c6200c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function index(Request $request, AddressPool $addressPool)
AllowedFilter::exact('server_id')->nullable(),
],
)
->paginate(min($request->query('per_page', 50), 100))->appends(
->paginate(min($request->query('per_page', 50), 999999))->appends(
$request->query(),
);

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/Nodes/AddressController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function index(Request $request, Node $node)
new FiltersAddressWildcard(),
), AllowedFilter::exact('server_id')->nullable()],
)
->paginate(min($request->query('per_page', 50), 100))->appends(
->paginate(min($request->query('per_page', 50), 999999))->appends(
$request->query(),
);

Expand Down

0 comments on commit 3c6200c

Please sign in to comment.