systopia / de.systopia.newsletter

CiviCRM Extension to facilitate newsletter signups
GNU Affero General Public License v3.0
2 stars 2 forks source link

Do not store group titles in the profile and use current (frontend) group title #3

Closed jensschuppe closed 1 year ago

jensschuppe commented 4 years ago

Currently, the profile configuration stores the groups with their IDs and titles. When titles are being changed later on, the profile still keeps the old titles and would need to be re-saved to update them.

The profile should only store the group IDs and group titles should be retrieved on demand when requesting through the NewsletterProfile.get API. Also, the public group title (frontend_title) should be used if it is not empty.