Skip to content

Commit

Permalink
attempt to fix full group by error
Browse files Browse the repository at this point in the history
  • Loading branch information
alifrumin committed Apr 2, 2019
1 parent 8c653cf commit 9c566e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Case/BAO/Case.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public static function getCaseActivityQuery($type = 'upcoming', $userID, $condit
'cov_status.label as case_status_name',
't_act.status_id',
'civicrm_case.start_date as case_start_date',
"IF(case_relationship.contact_id_b = $userID, case_relation_type.label_a_b, case_relation_type.label_b_a) as case_role",
"GROUP_CONCAT(DISTINCT IF(case_relationship.contact_id_b = $userID, case_relation_type.label_a_b, case_relation_type.label_b_a) SEPARATOR ', ') as case_role",
);

if ($type == 'upcoming') {
Expand Down

0 comments on commit 9c566e9

Please sign in to comment.