From b59e8ab7b367be37328aac8289526ed70a347e70 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 1 Feb 2023 12:00:47 +0100 Subject: order shows in shows_list by name (not slug) diff --git a/program/views.py b/program/views.py index 3f1cf9e..c369b85 100644 --- a/program/views.py +++ b/program/views.py @@ -233,7 +233,7 @@ class ShowListViewV2(ListView): language = get_object_or_404(Language, slug=self.request.GET['language']) queryset = queryset.filter(language=language) - return queryset + return queryset.order_by('name') class ShowDetailViewV2(DetailView): -- cgit v0.10.2