From 17da308f37d7f963656b783f1d669bc4a3fe7e83 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Mon, 16 Aug 2021 20:10:41 +0000 Subject: [PATCH] Include AGM in next meeting stats --- apiserver/apiserver/api/utils_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/apiserver/api/utils_stats.py b/apiserver/apiserver/api/utils_stats.py index 0eb30a2..0ff93db 100644 --- a/apiserver/apiserver/api/utils_stats.py +++ b/apiserver/apiserver/api/utils_stats.py @@ -40,7 +40,7 @@ def changed_card(): def calc_next_events(): sessions = models.Session.objects - member_meeting = sessions.filter(is_cancelled=False, course=317, datetime__gte=now()).first() + member_meeting = sessions.filter(is_cancelled=False, course__in=[317, 413], datetime__gte=now()).first() monthly_clean = sessions.filter(is_cancelled=False, course=273, datetime__gte=now()).first() if member_meeting: