Skip to content
Snippets Groups Projects
Commit 8281f18d authored by permcu's avatar permcu
Browse files

Return lesson events for participant

parent 7274012b
No related branches found
No related tags found
1 merge request!349Resolve "Return lesson events for partitipant"
Pipeline #182905 failed
......@@ -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":
......
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