diff options
author | Dace Petra <dace.petra@zabbix.com> | 2022-06-15 15:15:22 +0300 |
---|---|---|
committer | Dace Petra <dace.petra@zabbix.com> | 2022-06-15 15:15:22 +0300 |
commit | f9d6fd66a7ff59c5e6490bf07360ccf959dbfa31 (patch) | |
tree | b5c7888909a29bca41d201f58dcd840bead06321 /ui/hostgroups.php | |
parent | 3052bf1afdf7b42c27635a029c1cc780b3adce1f (diff) |
A.F....... [ZBX-21070] fixed missing discovery rule for a discovered host group and updated links to host prototype
Diffstat (limited to 'ui/hostgroups.php')
-rw-r--r-- | ui/hostgroups.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/hostgroups.php b/ui/hostgroups.php index bc701c6270a..f2b903c9cd6 100644 --- a/ui/hostgroups.php +++ b/ui/hostgroups.php @@ -225,6 +225,8 @@ if (hasRequest('form')) { $groups = API::HostGroup()->get([ 'output' => ['name', 'flags'], 'groupids' => $data['groupid'], + 'selectDiscoveryRule' => ['itemid', 'name'], + 'selectHostPrototype' => ['hostid'], 'editable' => true ]); @@ -324,6 +326,7 @@ else { 'selectTemplates' => ['templateid', 'name'], 'selectGroupDiscovery' => ['ts_delete'], 'selectDiscoveryRule' => ['itemid', 'name'], + 'selectHostPrototype' => ['hostid'], 'limitSelects' => $limit ]); order_result($data['groups'], $sortField, $sortOrder); |