-
-
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-20226: Parent Group do not inherit child group contacts #10428
Conversation
monishdeb
commented
May 27, 2017
•
edited by civicrm-builder
Loading
edited by civicrm-builder
- CRM-20226: Parent Group do not inherit child group contacts
@monishdeb test failure looks related |
Thanks @seamuslee001 . Fixed it |
9dd31f3
to
19ed7c5
Compare
ran through some tests and this looks good. working as expected now. |
$values[$dao->group_id]['count'] = $dao->count; | ||
} | ||
// get group contact count using Contact.GetCount API | ||
$values[$object->id]['count'] = civicrm_api3('Contact', 'getcount', array('group' => $object->id)); |
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.
@monishdeb are you sure this doesn't hit the limit = 25
bug in the api3?
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.
@colemanw yes because on 'Manage Group', for some group, I am getting group-contact's count > 25, reason why I haven't added limit = 0
option.
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.
I found that for 'getcount' API action, the limit
is not used here
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.
Great, thanks for checking.