diff options
author | Christian Pointner <equinox@helsinki.at> | 2023-02-01 11:00:47 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2023-02-01 11:00:47 (GMT) |
commit | b59e8ab7b367be37328aac8289526ed70a347e70 (patch) | |
tree | eb29f1762c3da887a2e6aa43c535c6079c6c8a1c | |
parent | e2692dbe56841cb8452636f5f6aaccc2158a6c37 (diff) |
order shows in shows_list by name (not slug)
-rw-r--r-- | program/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |