From 892174ab119531b310753c25b5f49e3d61adcbe1 Mon Sep 17 00:00:00 2001
From: Jonathan Weth <git@jonathanweth.de>
Date: Thu, 4 Apr 2024 21:48:42 +0200
Subject: [PATCH] Remove filter to include only not amended lessons

---
 aleksis/apps/alsijil/models.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/aleksis/apps/alsijil/models.py b/aleksis/apps/alsijil/models.py
index b922c4658..db8445213 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
-- 
GitLab