Skip to content

Commit

Permalink
Merge pull request #2252 from aswanthabam/dev
Browse files Browse the repository at this point in the history
fix: past meetup listing issue fixed
  • Loading branch information
nashnsulthan authored Oct 13, 2024
2 parents 3dbf9a4 + 8b3bb17 commit bcbc077
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions api/dashboard/lc/dash_lc_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bcbc077

Please sign in to comment.