Skip to content

Commit 68ca9ef

Browse files
ArohasinaCopilot
andauthored
Update app/logic/volunteerSpreadsheet.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f9749ff commit 68ca9ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/logic/volunteerSpreadsheet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def laborAttendanceByTerm(term):
265265
fn.CONCAT(User.firstName, ' ', User.lastName).alias('fullName'),
266266
User.bnumber,
267267
fn.CONCAT(User.username, '@berea.edu').alias('email'),
268-
fn.COUNT(EventParticipant.event_id).alias('meetingsAttended')
268+
fn.COUNT(fn.DISTINCT(EventParticipant.event_id)).alias('meetingsAttended')
269269
)
270270
.join(User)
271271
.switch(EventParticipant)

0 commit comments

Comments
 (0)