|
@ -97,7 +97,7 @@ class Rocnik(SeminarModelBase): |
|
|
return vc[-1] if vc else None |
|
|
return vc[-1] if vc else None |
|
|
|
|
|
|
|
|
def verejne_vysledkovky_cisla(self): |
|
|
def verejne_vysledkovky_cisla(self): |
|
|
vc = list(self.cisla.filter(deadline_v_cisle__verejna_vysledkovka=True)) |
|
|
vc = list(self.cisla.filter(deadline_v_cisle__verejna_vysledkovka=True).distinct()) |
|
|
vc.sort(key=lambda c: c.poradi) |
|
|
vc.sort(key=lambda c: c.poradi) |
|
|
return vc |
|
|
return vc |
|
|
|
|
|
|
|
|