From 80afbbbdf78855417532487ae2e97934ed0d99b3 Mon Sep 17 00:00:00 2001 From: Tomas 'Jethro' Pokorny Date: Tue, 2 Mar 2021 21:52:37 +0100 Subject: [PATCH] Bugfix --- seminar/views/views_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 22b6a743..b14ef764 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -969,7 +969,7 @@ class ClankyResitelView(generic.ListView): queryset = [] skupiny_clanku = group_by_rocnik(clanky) for skupina in skupiny_clanku: - skupina.sort(key=lambda clanek: clanek.kod_v_rocniku) + skupina.sort(key=lambda clanek: clanek.kod_v_rocniku()) for clanek in skupina: queryset.append(clanek) return queryset