#53: search on relationship and case (2)
Unfortunately we had to revert https://github.com/civicrm/civicrm-core/pull/20002 since it was too complicated to fix the regression it causes in time for the release otherwise
Overview When doing an advanced search with case parameters set and displaying related contacts. Gives all clients of all the found cases which have this relationship. What we would expect is that related contact is linked to the found cases.
Steps to reproduce Preparation:
Create a contact Contact A Create another contact Contact B Create a third contact Contact C Create a case of type Housing Support for Contact A On the case assign the role Benefit specialist is to Contact B Create a second case of type Adult day care referral On the case assign the role Benefit specialist is to Contact C Searching:
Go to advanced search Click on View contact as related contact Select Benefit Specialist as relationship type Go to tab cases and select Housing Support as case type Expected results I expected to see only Contact B as that one has a relationship on the case Housing Support.
Actual results I see both Contact B and Contact C.
Comments See also the discussion of a similar related topic: #53 (moved)