Permalink
Browse files

Merge pull request #86 from SteScho/master

fixed missing group by clause
2 parents 0d20bcc + 7695aef commit 25e83bb7581c4262f8307dacc1598ba41ab7ba75 @LarsMichelsen LarsMichelsen committed on GitHub Jan 12, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 share/server/core/classes/GlobalBackendndomy.php
@@ -885,7 +885,7 @@ public function getHostMemberCounts($objects, $options, $filters) {
AND (s.config_type='.$this->objConfigType.' AND s.instance_id='.$this->dbInstanceId.' AND s.service_object_id=o.object_id)
AND (h.config_type='.$this->objConfigType.' AND h.instance_id='.$this->dbInstanceId.' AND h.host_object_id=s.host_object_id)
AND (hs.host_object_id=h.host_object_id)
- GROUP BY h.host_object_id, h.alias');
+ GROUP BY h.host_object_id, h.alias, o.name1');
$arrReturn = Array();
while($data = mysqli_fetch_assoc($QUERYHANDLE)) {

0 comments on commit 25e83bb

Please sign in to comment.