CRM_Report_Form_Activity: links to target / assigned contacts are often incorrect
(I understand CiviReport is not getting active development; I'd still like to offer a PR for this fix.)
To reproduce on dmaster (currently "Powered by CiviCRM 5.73.alpha1"):
- Create an activity with several (e.g. 5 or more) contacts in each of "With Contact" and "Assigned to", specifying "Create one activity with all contacts together"
- Run the report Activity Details Report, specifying filters that will include this new activity, and specifying display columns "Assignee Name" and "Target Name".
Expected behavior:
- The columns "Assignee Name" and "Target Name" should display multiple contacts, each linked to the corresponding contact record.
Observed (bad) behavior:
- The columns "Assignee Name" and "Target Name" correctly display multiple contacts, but each link often points to the wrong contact (e.g. Contact A is linked to contact B, contact B is linked to contact A, etc.)