Skip to content

set correct contact ID in participant searches

david requested to merge david124136468769/dataprocessor:main into main

If I have an participant search and I click on the link "view participant" than the first link works correctly. If I thenk click on "edit participant" than I get an error "Expected one Contact but found 0".

This is because the id and the cid are both the participant id.

Same code as used for membership search: https://lab.civicrm.org/extensions/dataprocessor/-/blob/main/CRM/DataprocessorSearch/Form/MembershipSearch.php?ref_type=heads#L27

I think that I see this error is new in civicrm > approx. 5.65,.

Merge request reports

Loading