Bugfix
This commit is contained in:
parent
fdc38f99bc
commit
80afbbbdf7
1 changed files with 1 additions and 1 deletions
|
@ -969,7 +969,7 @@ class ClankyResitelView(generic.ListView):
|
||||||
queryset = []
|
queryset = []
|
||||||
skupiny_clanku = group_by_rocnik(clanky)
|
skupiny_clanku = group_by_rocnik(clanky)
|
||||||
for skupina in skupiny_clanku:
|
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:
|
for clanek in skupina:
|
||||||
queryset.append(clanek)
|
queryset.append(clanek)
|
||||||
return queryset
|
return queryset
|
||||||
|
|
Loading…
Reference in a new issue