Skip to content

Commit 8bca4cc

Browse files
committed
fix recategorize of former retrospective study
1 parent 9dd8fb3 commit 8bca4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecs/core/triggers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,6 @@ def on_categorization(sender, **kwargs):
178178
task_type__workflow_node__uid='specialist_review',
179179
deleted_at=None,
180180
)
181-
entry = submission.timetable_entries.get()
181+
entry = submission.timetable_entries.order_by('-meeting__start').first()
182182
for task in specialist_reviews:
183183
entry.participations.create(user=task.assigned_to, task=task)

0 commit comments

Comments
 (0)