Merge branch 'ent-6986-11304-ordenar-alfabeticamente-los-resultados-snmp-en-discovery' into 'develop'
Modules alphabetically sorted in Discovery review See merge request artica/pandorafms!3907
This commit is contained in:
commit
1e90b0d300
|
@ -1493,6 +1493,9 @@ class DiscoveryTaskList extends HTML
|
|||
$simple_data[] = $tmp;
|
||||
|
||||
if (is_array($data['modules'])) {
|
||||
// Alphabetically sort.
|
||||
ksort($data['modules'], SORT_STRING | SORT_FLAG_CASE);
|
||||
|
||||
$simple_data = array_merge(
|
||||
$simple_data,
|
||||
array_reduce(
|
||||
|
|
Loading…
Reference in New Issue