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

Stop overriding is_active default when saving new relationship #14199

Merged
merged 1 commit into from
May 5, 2019

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented May 5, 2019

Overview

Makes the is_active default more consistent when creating a new relationship.
For some obscure reason the relationsip BAO was forcing the is_active field to default to 0 even though the schema sets a more sensible default of 1.

Before

Creating a new relationship is not active by default.

After

Creating a new relationship will be active by default.

@civibot
Copy link

civibot bot commented May 5, 2019

(Standard links)

@civibot civibot bot added the master label May 5, 2019
For some obscure reason the relationsip BAO was forcing the is_active field
to default to 0 even though the schema sets a more sensible default of 1.
@colemanw colemanw changed the title Stop overwriting is_active default when saving new relationship Stop overriding is_active default when saving new relationship May 5, 2019
@eileenmcnaughton eileenmcnaughton merged commit cb64a05 into civicrm:master May 5, 2019
@eileenmcnaughton eileenmcnaughton deleted the relActive branch May 5, 2019 21:48
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.

2 participants