Skip to content
Snippets Groups Projects
Commit 80032e0b authored by magicfelix's avatar magicfelix
Browse files

Show all groups in my groups overview

parent e24ae97f
Branches engs-4.0
No related tags found
No related merge requests found
Pipeline #187949 failed
......@@ -714,7 +714,7 @@ def my_students(request: HttpRequest) -> HttpResponse:
)
def my_groups(request: HttpRequest) -> HttpResponse:
context = {}
context["groups"] = Group.objects.filter(school_term=SchoolTerm.current, owners=request.user.person)
context["groups"] = Group.objects.filter(school_term=SchoolTerm.current)
return render(request, "alsijil/class_register/groups.html", context)
......
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