mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Sort smart app disks by label (#15686)
* sort smart app disks by label * . * .
This commit is contained in:
@@ -13,6 +13,8 @@ $drives = [];
|
||||
|
||||
$app_data = $app->data;
|
||||
|
||||
array_multisort(array_keys($app_data['disks']), SORT_ASC, $app_data['disks']);
|
||||
|
||||
foreach ($app_data['disks'] as $label => $disk_data) {
|
||||
$disk = $label;
|
||||
|
||||
|
Reference in New Issue
Block a user