From 9a7feafa1f8cb461f5cca0f8bd023d75d719d337 Mon Sep 17 00:00:00 2001 From: Alice Frumin Date: Fri, 3 May 2019 17:36:20 -0400 Subject: [PATCH] fix cases duplicating in case summary report --- CRM/Report/Form/Case/Summary.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Report/Form/Case/Summary.php b/CRM/Report/Form/Case/Summary.php index 9fb57a339714..55f8490a5ec4 100644 --- a/CRM/Report/Form/Case/Summary.php +++ b/CRM/Report/Form/Case/Summary.php @@ -369,7 +369,8 @@ public function where() { } public function groupBy() { - $this->_groupBy = ""; + $cc = $this->_aliases['civicrm_case']; + $this->_groupBy = "group by $cc.id"; } public function postProcess() {