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

fix CRM-21444: use contact_type name instead of label #11523

Merged
merged 1 commit into from
Jan 16, 2018

Conversation

bjendres
Copy link
Contributor

Overview

See https://issues.civicrm.org/jira/browse/CRM-21444

Before

The dedupe rule edit screen doesn't yield the fields in the dropdown, if the contact types' labels and names differ (e.g. in a localised environment).

After

The dedupe edit screen works again.

Technical Details

The code used the label where it should have used the name.

@eileenmcnaughton
Copy link
Contributor

This looks good to me & just needs a quick test. Can I get you to change the commit message to make more sense after it is merged

@bjendres
Copy link
Contributor Author

This looks good to me & just needs a quick test. Can I get you to change the commit message to make more sense after it is merged

@eileenmcnaughton This should do it, right?

@eileenmcnaughton eileenmcnaughton changed the title proposed fix for CRM-21444 fix CRM-21444: use contact_type name instead of label Jan 16, 2018
@eileenmcnaughton
Copy link
Contributor

Looks good - I feel happy with the testing Systopia has done per JIRA given that this looks clear cut from a code POV - adding merge on pass

@monishdeb
Copy link
Member

Merging as per tag.

@monishdeb monishdeb merged commit 6e48f44 into civicrm:master Jan 16, 2018
@mlutfy mlutfy added this to the 4.7.31 milestone Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants