Skip to content

Commit

Permalink
Merge pull request #1029 from compucorp/comcl-716-fix-other-relations…
Browse files Browse the repository at this point in the history
…hip-tab

COMCL-716: Fix Other Relationship Tab On Case Details Page
  • Loading branch information
shahrukh-compuco authored Aug 13, 2024
2 parents 3a7f19f + 270a302 commit f3da082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v3/Case/Getrelations.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function civicrm_api3_case_getrelations(array $params) {

$relationships = Relationship::get(FALSE)
->addSelect('relationship_type_id', 'contact_id_a', 'contact_id_b')
->addWhere('relationship_type.is_active', '=', TRUE)
->addWhere('relationship_type_id.is_active', '=', TRUE)
->addWhere('is_active', '=', TRUE)
->addWhere('case_id', 'IS NULL');

Expand Down

0 comments on commit f3da082

Please sign in to comment.