Skip to content

Commit 2e7c2f1

Browse files
DidayoloIdirLISN
authored andcommitted
Fix behavior
1 parent a4311c5 commit 2e7c2f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/apps/pages/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def get_context_data(self, *args, **kwargs):
5959
Q(owner=user) |
6060
Q(phase__competition__created_by=user) |
6161
Q(phase__competition__collaborators=user) |
62-
Q(phase__competition__queue__owner=user, phase__competition__queue__isnull=False) |
63-
Q(phase__competition__queue__organizers=user, phase__competition__queue__isnull=False)
62+
Q(queue__owner=user, queue__isnull=False) |
63+
Q(queue__organizers=user, queue__isnull=False)
6464
).distinct()
6565
else:
6666
qs = Submission.objects.filter(is_soft_deleted=False)

0 commit comments

Comments
 (0)