diff --git a/aleksis/apps/chronos/models.py b/aleksis/apps/chronos/models.py index c83c6db038c96e4c7d7221897076ce6c6b162313..9ef26048bd62554cc67d05a16681e6997a758492 100644 --- a/aleksis/apps/chronos/models.py +++ b/aleksis/apps/chronos/models.py @@ -1555,6 +1555,8 @@ class LessonEvent(CalendarEvent): if type_ and obj_id: if type_ == "TEACHER": return objs.for_teacher(obj_id) + elif type_ == "PARTICIPANT": + return objs.for_participant(obj_id) elif type_ == "GROUP": return objs.for_group(obj_id) elif type_ == "ROOM":