diff --git a/aleksis/apps/alsijil/models.py b/aleksis/apps/alsijil/models.py index b922c465815624cc49f4e809913ff6321c6dccdf..db8445213bd87009d0c388f5ba6b532d4d373927 100644 --- a/aleksis/apps/alsijil/models.py +++ b/aleksis/apps/alsijil/models.py @@ -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