Skip to content
Snippets Groups Projects

Resolve "Adapt to active school term"

Merged magicfelix requested to merge 319-adapt-to-active-school-term into master
3 files
+ 20
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -117,6 +117,11 @@ class DocumentationType(PermissionsTypeMixin, DjangoFilterMixin, DjangoObjectTyp
p for p in root.participations.all() if p.person == info.context.user.person
]
return []
# Annotate participations with prefetched documentation data for personal notes
for participation in root.participations.all():
participation._prefetched_documentation = root
return root.participations.all()
Loading