From 1cbf95e6e120fba47e2e6aada3aed7268e00e047 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 31 Mar 2024 20:56:49 +0200 Subject: [PATCH] Display at least our notes in the notes table Signed-off-by: Emmy D'Anello --- participation/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/participation/views.py b/participation/views.py index 7963bb1..af59700 100644 --- a/participation/views.py +++ b/participation/views.py @@ -1892,9 +1892,9 @@ class PassageDetailView(LoginRequiredMixin, DetailView): if reg.is_volunteer: notes = self.object.notes.all() if not reg.is_admin \ - or (reg != self.object.pool.jury_president - and reg not in self.object.pool.tournament.organizers.all()): - notes = [note for note in notes if note.has_any_note()] + and (reg != self.object.pool.jury_president + or reg not in self.object.pool.tournament.organizers.all()): + notes = [note for note in notes if note.has_any_note() or note.jury == reg] context["notes"] = NoteTable(notes) # Only display the observer column for 4-teams pools