Skip to content

Commit

Permalink
fixing test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
alifrumin committed Apr 10, 2019
1 parent 5a593ae commit 31c1f9b
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 @@ -808,7 +808,7 @@ public static function getCasesSummary($allCases = TRUE) {
$myCaseWhereClauseB = " AND case_relationship.contact_id_b = {$userID} AND case_relationship.is_active ";
$myGroupByClauseB = " GROUP BY CONCAT(civicrm_case.id,'-',case_relationship.contact_id_b)";
}
$myGroupByClauseB .= ", case_status.label, status_id, case_type_id";
$myGroupByClauseB .= ", case_status.label, status_id, case_type_id, civicrm_case.id";
$myGroupByClauseA = $myGroupByClauseB;
// FIXME: This query could be a lot more efficient if it used COUNT() instead of returning all rows and then counting them with php
$query = "
Expand Down

0 comments on commit 31c1f9b

Please sign in to comment.