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

CRM-20299 - CiviMail UI - Cleanup "Location Type" and "Selection Method" #10014

Merged
merged 2 commits into from
Mar 19, 2017

Conversation

totten
Copy link
Member

@totten totten commented Mar 17, 2017

…ced options

When composing a new mailing, there are advanced options for targetting
recipients by location type (`location_type_id`, `email_selection_method`).
This ensures that the estimate recipient count updates to match the
selection.
If you select a "Location Type" and then deselect it, the field changes
to "Automatic". This is the default value (which is acceptable), but the UI
flags it as erroneous.

The "Selection Method" also defaults to "Automatic".  These fields are oddly
a bit different (e.g.  "Automatic" translates to `location_type_id==null`
and `email_selection_method=automatic`), so the fields are a little
different, but this revision brings them closer.
@eileenmcnaughton
Copy link
Contributor

Tested & this works, scope is narrow - only affecting the mailing form & I don't believe it could affect other areas.

@eileenmcnaughton eileenmcnaughton merged commit 714ec13 into civicrm:master Mar 19, 2017
monishdeb pushed a commit to monishdeb/civicrm-core that referenced this pull request May 2, 2017
CRM-20299 - CiviMail UI - Cleanup "Location Type" and "Selection Method"
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.

3 participants