diff --git a/tapir/statistics/views/private_views.py b/tapir/statistics/views/private_views.py index 114221cd..05a5e0f4 100644 --- a/tapir/statistics/views/private_views.py +++ b/tapir/statistics/views/private_views.py @@ -134,10 +134,11 @@ def get_attendances_for_selection_at_date(cls, selection, at_date): slot__shift__cancelled=False, ) - # Only pick one attendance per slot, choosing the most recently updated one - attendances = attendances.order_by("slot", "-last_state_update").distinct( - "slot" - ) + if False: + # Only pick one attendance per slot, choosing the most recently updated one + attendances = attendances.order_by("slot", "-last_state_update").distinct( + "slot" + ) if selection == cls.SELECTION_ABCD_MEMBERS: attendances = cls.filter_attendance_by_attendance_mode_of_member_at_date(