-
-
Notifications
You must be signed in to change notification settings - Fork 825
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-19435: IncludeSmartGroups Option added #9156
Conversation
Can one of the admins verify this patch? |
I am really sorry, if this would be dumbest question? Can i know the status of this patch? |
Well its in the list for review. Someone will eventually review it. |
@tschuettler @jainabhishek14 I think this PR provide a better solution over #9149 as per your discussion. Reason why I have added the ticket number in title. So should I close #9149 ? |
Yes, that's fine with me. |
Ok closed #9149 |
Jenkins ok to test |
build error was: is it test case undefined issue? |
@jainabhishek14 sorry didn't have any idea about that BUT as per the test build you got 11 style errors which need to be fixed, these are :
For detail https://test.civicrm.org/job/CiviCRM-Core-PR/12001/checkstyleResult/new/ |
@monishdeb I have fixed the style errors. Should I create a new pull request or modify this one? |
@jainabhishek14 just push to the same branch as this PR |
@seamuslee001 I already pushed the fix but it does not reflect here.. |
@jainabhishek14 was it on the same branch the CRM-19435 branch? |
@seamuslee001 yes |
I see the commit here now not sure why it wasn't there before and its past the style checker and onto the test suite. |
@seamuslee001 Thanks, I can see it now... |
@jainabhishek14 That was from your first test run the 2nd one is here https://test.civicrm.org/job/CiviCRM-Core-PR/12050 (there is currently an orange circle next to your 2nd commit which indicates test is running) |
Thank you very much @seamuslee001 for the information. |
@@ -340,7 +340,8 @@ public static function getContactGroup( | |||
$ignorePermission = FALSE, | |||
$onlyPublicGroups = FALSE, | |||
$excludeHidden = TRUE, | |||
$groupId = NULL | |||
$groupId = NULL, | |||
$includeSmartGroups = FALSE |
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.
@jainabhishek14 you need to also document the new parameter $includeSmartGroups
in the function description as
@param bool $includeSmartGroups
[short description]
Everything else is working fine :)
Anyways I am merging this PR and will submit a separate PR for the mentioned change. Submitted #9233 |
Added a new parameter "includeSmartGroups" for getContactGroups to include smart groups in the result.