Hi. If I go to Administration -> Subnets -> <Section XYZ="">
all the subnets are displayed but the order is a bit strange.
Sample:
0.4.0.0/16
192.168.182.0/24
192.168.176.0/24
0.15.0.0/16
192.168.14.0/24
0.26.0.0/16
172.17.188.0/24
Wouldn't be better if you sorted all the root subnets by number?
ie:
0.4.0.0/16
192.168.182.0/24
192.168.176.0/24
[...]
0.15.0.0/16
192.168.14.0/24
[...]
0.26.0.0/16
172.17.188.0/24
where [...] is the range in between. So instead of 0.15.0.0/16 after 0.4.0.0/16 you would have 0.5.0.0/16.
Anonymous
This would be a good feature. I handle this by hard coding a "order by subnet" clause in the functions/functions-network.php file.
change:
$query = 'select * from subnets;';
to:
$query = 'select * from subnets order by subnet;';