CRM-16719: more fixes
authorKurund Jalmi <kurund@yahoo.com>
Sat, 22 Aug 2015 14:02:15 +0000 (19:32 +0530)
committerKurund Jalmi <kurund@yahoo.com>
Sat, 22 Aug 2015 14:02:15 +0000 (19:32 +0530)
CRM/Report/Form/ActivitySummary.php

index b9e0ead547c232593af6400c442b8e2d77b46e27..224f4f645ce722923bf7bca9260142a6589d7ddf 100644 (file)
@@ -421,7 +421,7 @@ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form {
       $this->_groupBy = "GROUP BY " . implode(', ', $this->_groupBy);
     }
     else {
-      $this->_groupBy = "GROUP BY {$this->_aliases['civicrm_contact']}.id ";
+      $this->_groupBy = "GROUP BY {$this->_aliases['civicrm_activity']}.id ";
     }
   }