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

Remove filter to include only not amended lessons

parent 6ed3df3b
No related branches found
No related tags found
2 merge requests!352Draft: Resolve "Add dialog with each lesson's students",!350Resolve "Add simple course book list"
......@@ -545,7 +545,6 @@ class Documentation(CalendarEvent):
# 1. Find all LessonEvents for all Lessons of this Course in this date range
event_params = {
"own": own,
"not_amended": True,
}
if obj_type is not None and obj_id is not None:
event_params.update(
......@@ -562,8 +561,6 @@ class Documentation(CalendarEvent):
event_params,
with_reference_object=True,
)
# (1.5 filter them by permissions)
...
# 2. For each lessonEvent → check if there is a documentation
# if so, add the documentation to a list, if not, create a new one
......
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