Skip to content

Commit

Permalink
Update Summary.php
Browse files Browse the repository at this point in the history
CRM-18294: Remove grouping by contact enabling more than one case per contact to be listed in the report.
  • Loading branch information
Upperholme authored Jul 4, 2016
1 parent 278817c commit e5dab8d
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 e5dab8d

Please sign in to comment.