diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php index 5293dff81..c5b7e0e26 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php @@ -37,7 +37,7 @@ class ContactgroupQuery extends IdoQuery 'services' => array( 'service_object_id' => 'so.object_id', 'service_host_name' => 'so.name1 COLLATE latin1_general_ci', - 'service' => 'so.name1 COLLATE latin1_general_ci', + 'service' => 'so.name2 COLLATE latin1_general_ci', 'service_description' => 'so.name2 COLLATE latin1_general_ci', ) ); @@ -96,7 +96,7 @@ class ContactgroupQuery extends IdoQuery { $scgSub = $this->db->select()->distinct() ->from($this->prefix . 'service_contactgroups', array( - 'contactgroup_object_id', 'service_id' + 'service_id', 'contactgroup_object_id' )); /*