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-19122 Group Organization & parent default code should be the same #8751

Merged
merged 1 commit into from
Oct 14, 2016

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jul 25, 2016

@seamuslee001
Copy link
Contributor

Jenkins re test this please

public function setDefaultValues() {
$defaults = array();
if (empty($defaults['parents'])) {
$defaults['parents'] = CRM_Core_BAO_Domain::getGroupId();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eileenmcnaughton I notice here that you are setting the default as having a parent group here, I am just wondering how that works with multisite given iirc in multisite extension we are looking at default being the domain org contact not the domain group

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm - have I changed the behaviour? Wouldn't that still be overridden?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might but it was just a thought,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked & this behaviour is also in CRM_Group_Form_Edit - the multisite extension overrides it.

  • would be good to get this merged

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 thoughts?

@seamuslee001
Copy link
Contributor

with your comment @eileenmcnaughton happy for merge

@eileenmcnaughton eileenmcnaughton merged commit f3431cb into civicrm:master Oct 14, 2016
@eileenmcnaughton eileenmcnaughton deleted the groupOrg branch October 14, 2016 20:55
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