From b4019d5c49058c339465145f22484293b6be1a7e Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Thu, 11 Apr 2019 06:08:53 +0200 Subject: [PATCH] Debug contributor merge form (re: change of PublicationAuthorsTable) --- scipost/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost/forms.py b/scipost/forms.py index cd1dcce58..0669fb5b5 100644 --- a/scipost/forms.py +++ b/scipost/forms.py @@ -543,7 +543,7 @@ class ContributorMergeForm(forms.Form): CitationNotification.objects.filter( contributor=contrib_from).update(contributor=contrib_into) PublicationAuthorsTable.objects.filter( - contributor=contrib_from).update(contributor=contrib_into) + profile=contrib_from.profile).update(profile=contrib_into.profile) UnavailabilityPeriod.objects.filter( contributor=contrib_from).update(contributor=contrib_into) Remark.objects.filter( -- GitLab