From f7e7ceaba2c67b7b4b049f250310a74655506ff6 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 16 Dec 2023 03:09:42 +0100 Subject: [PATCH] feat: do not auto-advance if there are less than 3 jurors --- pretalx_musicrate/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pretalx_musicrate/views.py b/pretalx_musicrate/views.py index c1fd85d..c9f9fea 100644 --- a/pretalx_musicrate/views.py +++ b/pretalx_musicrate/views.py @@ -318,7 +318,8 @@ class MayAdvanceView(EventPermissionRequired, SubmissionMixin, View): >= int( num_jurors * self.request.event.pretalx_musicrate_settings.advance_threshold - ), + ) + and num_jurors > 2, "statusText": ngettext( "%(num_ratings)d of %(num_jurors)d has rated this submission", "%(num_ratings)d of %(num_jurors)d have rated this submission",