From 1ca49a532f4cc132b736056f368eb8d067000382 Mon Sep 17 00:00:00 2001 From: SourceDoctor Date: Thu, 13 Feb 2020 12:50:18 +0100 Subject: [PATCH] Change Device, Group, Location - order (#11141) --- includes/html/list/devices_groups.inc.php | 4 ++-- includes/html/list/devices_groups_locations.inc.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/html/list/devices_groups.inc.php b/includes/html/list/devices_groups.inc.php index 0e41c1dd40..0aaeaf4d47 100644 --- a/includes/html/list/devices_groups.inc.php +++ b/includes/html/list/devices_groups.inc.php @@ -32,8 +32,8 @@ $groups = array_map(function ($group) { }, $groups); $data = [ - ['text' => 'Devices', 'children' => $devices], - ['text' => 'Groups', 'children' => $groups] + ['text' => 'Groups', 'children' => $groups], + ['text' => 'Devices', 'children' => $devices] ]; return [$data, $d_more || $g_more]; diff --git a/includes/html/list/devices_groups_locations.inc.php b/includes/html/list/devices_groups_locations.inc.php index 8ea5bc0eb4..f21c45a048 100644 --- a/includes/html/list/devices_groups_locations.inc.php +++ b/includes/html/list/devices_groups_locations.inc.php @@ -38,9 +38,9 @@ $groups = array_map(function ($group) { }, $groups); $data = [ - ['text' => 'Devices', 'children' => $devices], + ['text' => 'Locations', 'children' => $locations], ['text' => 'Groups', 'children' => $groups], - ['text' => 'Locations', 'children' => $locations] + ['text' => 'Devices', 'children' => $devices] ]; return [$data, $d_more || $g_more || $l_more];