diff --git a/profiles/forms.py b/profiles/forms.py index 59dd7b319ed49297de9138a3f2e9c9586e52239b..167b101e47506906cd1aa4362ecbeb8dda1d0607 100644 --- a/profiles/forms.py +++ b/profiles/forms.py @@ -141,6 +141,9 @@ class ProfileMergeForm(forms.Form): # Move all affiliations to the "new" profile profile_old.affiliations.all().update(profile=profile) + # Move all PublicationAuthorsTable instances to the "new" profile + profile_old.publicationauthorstable_set.all().update(profile=profile) + # Move all invitations to the "new" profile profile_old.refereeinvitation_set.all().update(profile=profile) profile_old.registrationinvitation_set.all().update(profile=profile)