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

APIv4 - Set default status when creating GroupContact record #22322

Merged
merged 1 commit into from
Dec 27, 2021

Conversation

colemanw
Copy link
Member

Overview

Fixes https://lab.civicrm.org/dev/core/-/issues/2924 by setting the default value for 'status' when adding a contact to a group using APIv4.

Before

Unlike APIv3, APIv4 does not set the default for GroupContact 'status', resulting in unexpected behavior.

After

APIv4 works the same as v3.

@civibot
Copy link

civibot bot commented Dec 27, 2021

(Standard links)

@civibot civibot bot added the master label Dec 27, 2021
@eileenmcnaughton eileenmcnaughton merged commit ddee419 into civicrm:master Dec 27, 2021
@eileenmcnaughton eileenmcnaughton deleted the groupContactDefaults branch December 27, 2021 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants