Skip to content

Commit

Permalink
Merge pull request #779 from compucorp/CPS-583-client-role-only
Browse files Browse the repository at this point in the history
CPS-583: Fix Issue With Only client role is displayed when selecting case roles for bulk emails
  • Loading branch information
tunbola authored May 6, 2021
2 parents 402e0e3 + 4cd2815 commit 7552922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ang/civicase-base/providers/case-type.provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
*/
function getByCategory (categoryValue) {
return _.filter(caseTypes, function (caseType) {
return caseType.case_type_category === categoryValue;
return parseInt(caseType.case_type_category) === parseInt(categoryValue);
});
}

Expand Down

0 comments on commit 7552922

Please sign in to comment.