diff --git a/scipost_django/submissions/models/submission.py b/scipost_django/submissions/models/submission.py index 429dd0fa12fd757d01b1dad63a05832529acaed3..d1017b69c6c69d79e98c2cc91870a9b9c1a35d1c 100644 --- a/scipost_django/submissions/models/submission.py +++ b/scipost_django/submissions/models/submission.py @@ -349,7 +349,7 @@ class Submission(models.Model): return Submission.objects.public().filter(thread_hash=self.thread_hash).order_by( '-submission_date', '-preprint') - @property + @cached_property def thread_sequence_order(self): """Return the ordering of this Submission within its thread.""" return self.thread.filter(submission_date__lt=self.submission_date).count() + 1