Skip to content

Commit 7471f5a

Browse files
committed
API - IP address ranges - search - order by mask
1 parent 0ae6314 commit 7471f5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Controller/Api/IpAddressRangesController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function search()
4444
'AccessPoints',
4545
'ParentIpAddressRanges',
4646
],
47+
'order' => ['masklen(IpAddressRanges.ip_network)' => 'DESC'],
4748
];
4849

4950
if ($this->request->getQuery('access_point_id') !== null) {

0 commit comments

Comments
 (0)