From acbcc13f66769b000ff8ce3696f5ea2626136473 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Wed, 12 Mar 2025 11:23:10 +0100 Subject: [PATCH] fix loading tournaments --- tournaments/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/views.py b/tournaments/views.py index 3dec1d1..c8203e5 100644 --- a/tournaments/views.py +++ b/tournaments/views.py @@ -157,7 +157,7 @@ def future_tournaments(club_id): def index_new(request): club_id = request.GET.get('club') - tournaments = tournaments_query_new(Q(end_date__isnull=True), club_id, True, 50) + tournaments = tournaments_query_new(Q(end_date__isnull=True), club_id, True, None) display_tournament = [t for t in tournaments if t.display_tournament()] live = [t for t in display_tournament if t.supposedly_in_progress()] future = [t for t in display_tournament if t.starts_in_the_future()]