-
-
Notifications
You must be signed in to change notification settings - Fork 824
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-21675: scheduled reminders: limit to group doesn't support parent groups #11629
Conversation
Marked as [WIP] as going to add additional criteria and fixed in the new unit test |
@monishdeb this looks good. When restricting to a parent group in scheduled reminders, members of child groups are included (and delivered to). |
Jenkins test this please |
@totten are you able to take a look at this? It makes sense to me in the general logic & it has a test but it's code only really you @monishdeb & @jitendrapurohit have looked at. OTOH it has a unit test & it has been r-run tested by @lcdservices too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested normal and smart groups with sched reminder and confirm that parent group includes all child group contacts correctly as expected.
|
yay |
Thanks everyone :) |
Hi - I've experienced a problem with a 'limit to' Smart group which was a complex Include/Exclude group based on Membership expiry dates among other criteria. |
Overview
Currently, you can not include recipients of parent group and its child group but can choose only 1 regular or smart group to limit recipients of schedule reminder. This fix extends the support to include all the recipients of parent and its child group(s).
Before
Doesn't include all recipients of parent and its child group(s)
After
Include all recipients of parent and its child group(s)
Technical Details
The PR got unit test for this fix