From b5e10c103665d886648a1351213198de7d85f6b6 Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Wed, 25 Sep 2024 14:03:05 +0200 Subject: [PATCH] fix ref indications after ref invitations refactor --- scipost_django/submissions/models/referee_indication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost_django/submissions/models/referee_indication.py b/scipost_django/submissions/models/referee_indication.py index de96247dd..521809bdf 100644 --- a/scipost_django/submissions/models/referee_indication.py +++ b/scipost_django/submissions/models/referee_indication.py @@ -93,7 +93,7 @@ class RefereeIndication(models.Model): ): return "author" elif self.indicated_by.id in self.submission.referee_invitations.values_list( - "profile__id", flat=True + "referee__id", flat=True ): return "referee" elif self.indicated_by in self.submission.fellows.values_list( -- GitLab