Skip to content
Snippets Groups Projects
Verified Commit 2ef14bf4 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

[Person overview] Fix aggregation of tardinesses

parent bd9e74d3
No related branches found
No related tags found
1 merge request!80Resolve "Add student view with further information"
Pipeline #3467 passed
......@@ -555,8 +555,8 @@ def overview_person(request: HttpRequest, id_: Optional[int] = None) -> HttpResp
)
)
stat.update(
personal_notes.filter(absent=True, excused=False).aggregate(
tardiness=Count("late")
personal_notes.aggregate(
tardiness=Sum("late")
)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment