From 8b3bb1743f5bf1bddcd8992d55a32e9ab8d069b3 Mon Sep 17 00:00:00 2001 From: Aswanth Vc Date: Sun, 13 Oct 2024 14:15:32 +0530 Subject: [PATCH] fix: past meetup listing issue fixed --- api/dashboard/lc/dash_lc_view.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/dashboard/lc/dash_lc_view.py b/api/dashboard/lc/dash_lc_view.py index f204e70c..84a1e185 100644 --- a/api/dashboard/lc/dash_lc_view.py +++ b/api/dashboard/lc/dash_lc_view.py @@ -742,10 +742,9 @@ def get(self, request, circle_id): circle_id=circle_id, is_report_submitted=False, ).order_by("-created_at") - past_meeting = CircleMeetingLog.objects.exclude( - meet_time__gte=DateTimeUtils.get_current_utc_time(), + past_meeting = CircleMeetingLog.objects.filter( circle_id=circle_id, - is_report_submitted=False, + is_report_submitted=True, ).order_by("-created_at")[:2] return CustomResponse(