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

Fix filter query for groups

parent 8377e20b
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
Pipeline #193634 failed
......@@ -102,7 +102,7 @@ def annotate_person_statistics_for_school_term(
datetime_end__date__lte=school_term.date_end,
)
if group:
documentations.filter(
documentations = documentations.filter(
pk__in=Documentation.objects.filter(course__groups=group).union(
Documentation.objects.filter(course__groups__parent_groups=group)
)
......
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