From 119b24dcf5b3c29282cbf5421d369d4dbd5e8528 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Wed, 12 Mar 2025 12:24:06 +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 e54e3ea..d01db7c 100644 --- a/tournaments/views.py +++ b/tournaments/views.py @@ -160,7 +160,7 @@ def index_new(request): thirty_days_future = now + timedelta(days=30) club_id = request.GET.get('club') - tournaments = tournaments_query_new(Q(end_date__isnull=True, start_date__gte=thirty_days_ago, start_date__lte=thirty_days_future), club_id, True, None) + tournaments = tournaments_query_new(Q(end_date__isnull=True, start_date__gte=thirty_days_ago, start_date__lte=thirty_days_future), club_id, True, 50) display_tournament = [t for t in tournaments if t.display_tournament()] live = [] future = []