We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb77f7 commit 33169aaCopy full SHA for 33169aa
conditional/util/member.py
@@ -138,5 +138,5 @@ def get_hm(member, only_absent=False):
138
HouseMeeting.date > start_of_year(),
139
MemberHouseMeetingAttendance.uid == member.uid)
140
if only_absent:
141
- h_meetings = [hm for hm in h_meetings if hm.attendance_status == "Absent"]
+ h_meetings = h_meetings.filter(MemberHouseMeetingAttendance.attendance_status == "Absent")
142
return h_meetings
0 commit comments