Skip to content

Commit

Permalink
Merge pull request #1 from Upperholme/Case-Report-fix
Browse files Browse the repository at this point in the history
Update Summary.php
  • Loading branch information
Upperholme authored Jul 4, 2016
2 parents 278817c + e5dab8d commit 33e8bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Report/Form/Case/Summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public function from() {
}
else {
$this->_from = "
FROM civicrm_contact $c, civicrm_case $cc
FROM civicrm_case $cc
inner join civicrm_case_contact $ccc on ${ccc}.case_id = ${cc}.id
inner join civicrm_contact $c2 on ${c2}.id=${ccc}.contact_id
";
Expand Down Expand Up @@ -332,7 +332,7 @@ public function where() {
}

public function groupBy() {
$this->_groupBy = "GROUP BY {$this->_aliases['civicrm_c2']}.id";
$this->_groupBy = "";
}

public function postProcess() {
Expand Down

0 comments on commit 33e8bbf

Please sign in to comment.