only load dedupe rules for the chosen entity
authorJamie McClelland <jm@mayfirst.org>
Mon, 6 Feb 2023 22:02:25 +0000 (17:02 -0500)
committerJamie McClelland <jm@mayfirst.org>
Mon, 6 Feb 2023 22:02:25 +0000 (17:02 -0500)
commit115a8f44cebd5f7fc85c59b717bc16a7b09c9abb
tree2e079001ff63feda73a51fc694727acbe88febfe
parent4673284099079ca4b81c7b19854841beceada5c4
only load dedupe rules for the chosen entity

I'm not sure how long this has been broken??

CRM_Dedupe_BAO_DedupeRuleGroup::getByType() clearly takes a string
and will never get one without this change.
CRM/Contact/Page/AJAX.php