Contact Subtype Profile Defaults to Individual, Loses Org on save
Overview
I'd like to make a quick access change to the contact type. In Contact Layout Editor, I added a profile and field for contact subtype.
When working on an Organization, I want to subtype to Church, but the profile defaults to list Individual subtypes. On save, then, the previously added subtype church is erased, moving the contact back to Organization.
Reproduction steps
- Create Profile w/ field for Contact Subtype.
- Go to an organization and subtype to anything.
- use the profile to view the subtype.
- edit the field using the profile, and see individual types. Click save.
- Note your organization lost its subtypes.
Current behaviour
It can correctly view the saved subtype, but loses it when you save and edit using the profile.
Expected behaviour
subtypes are pulled when editing based on current contact type, Individual, Organization, Household.
Environment information
- Browser: Firefox
- CiviCRM: 5.71.1
- PHP: 8.x_
- CMS: Wordpress 6.1...
Comments
Anything else you would like the reviewer to note.