diff options
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -57,9 +57,7 @@ def group_list_common(request, timetable, groups): def group_list(request, year_slug, timetable_slug): timetable = get_object_or_404(Timetable, year__slug=year_slug, slug=timetable_slug) - groups = Group.objects.get_relevant_groups(timetable=timetable, name__startswith=timetable) \ - .order_by("name") - + groups = Group.objects.get_relevant_groups(timetable=timetable).order_by("name") return group_list_common(request, timetable, groups) def timetable(request, year_slug, timetable_slug, group_slug, year=None, week=None): |