Skip to content
Snippets Groups Projects
Commit 94d5efbf authored by Julian's avatar Julian
Browse files

Rename annotation

parent 5f16cb3c
No related branches found
No related tags found
1 merge request!43Resolve "Make Alsijil work with current core"
......@@ -263,7 +263,7 @@ def full_register_group(request: HttpRequest, id_: int) -> HttpResponse:
)
persons = group.members.annotate(
absences=Count("personal_notes__absent", filter=Q(personal_notes__absent=True)),
absences_count=Count("personal_notes__absent", filter=Q(personal_notes__absent=True)),
unexcused=Count(
"personal_notes__absent",
filter=Q(personal_notes__absent=True, personal_notes__excused=False),
......
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