diff --git a/scipost_django/profiles/forms.py b/scipost_django/profiles/forms.py index 0ada8859801b9c834614f4e1b2a064665217df88..4d30a9d7f64fd9338f906f6e27403fcd9e856f5e 100644 --- a/scipost_django/profiles/forms.py +++ b/scipost_django/profiles/forms.py @@ -176,6 +176,9 @@ class ProfileMergeForm(forms.Form): # Move all affiliations to the "new" profile profile_old.affiliations.all().update(profile=profile) + # Move all SubmissionAuthorProfile instances to the "new" profile + profile_old.submissionauthorprofile_set.all().update(profile=profile) + # Move all PublicationAuthorsTable instances to the "new" profile profile_old.publicationauthorstable_set.all().update(profile=profile)