Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load dedupe rules for the chosen entity #25515

Merged

Conversation

jmcclelland
Copy link
Contributor

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.

Overview

The contact import screen asks the user to specify the entity to import. It should then display the dedupe rules for that entity.

Before

A list of dedupe rules for all entities is displayed, even after an entity is chosen.

After

Only the dedupe rules for the selected entity are displayed.

Technical Details

This is a regression, but one that may be very old.

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.
@civibot
Copy link

civibot bot commented Feb 6, 2023

(Standard links)

@civibot civibot bot added the master label Feb 6, 2023
@eileenmcnaughton eileenmcnaughton merged commit 98a33f1 into civicrm:master Feb 7, 2023
@eileenmcnaughton eileenmcnaughton changed the title only load dedupe rules for the chosen entity Only load dedupe rules for the chosen entity Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants