mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
VLANs sort in GUI (#13628)
This commit is contained in:
@@ -79,7 +79,7 @@ class VlansController implements DeviceTab
|
||||
->on('vlans.device_id', 'ports_vlans.device_id');
|
||||
})
|
||||
->with(['port.device'])
|
||||
->select('ports_vlans.*', 'vlans.vlan_name')
|
||||
->select('ports_vlans.*', 'vlans.vlan_name')->orderBy('vlan_vlan')
|
||||
->get();
|
||||
|
||||
$data = $portVlan->groupBy('vlan');
|
||||
|
Reference in New Issue
Block a user