Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-18294 Fix Case Summary report to display multiple cases per client #8663

Merged
merged 2 commits into from
Jul 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CRM/Report/Form/Case/Summary.php
Original file line number Diff line number Diff line change
@@ -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
";
@@ -332,7 +332,7 @@ public function where() {
}

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

public function postProcess() {