diff --git a/biscuit/apps/alsijil/views.py b/biscuit/apps/alsijil/views.py
index 3014aacc5f49136636e7e95fc6dd5f47cc00e767..fb88a440aaa36158279413c6c80d9b7141850ebd 100644
--- a/biscuit/apps/alsijil/views.py
+++ b/biscuit/apps/alsijil/views.py
@@ -103,7 +103,8 @@ def group_week(request: HttpRequest, week: Optional[int] = None) -> HttpResponse
         lesson_periods = LessonPeriod.objects.annotate(
             has_documentation=Exists(LessonDocumentation.objects.filter(
                 ~Q(topic__exact=''),
-                lesson_period=OuterRef('pk')
+                lesson_period=OuterRef('pk'),
+                week=wanted_week
             ))
         ).filter(
             lesson__date_start__lte=week_start,