Fix bug: poradi v exportu
This commit is contained in:
parent
57315766d0
commit
9cbbfeaa95
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class ExportRocnikView(generic.DetailView):
|
|||
'points', 'rank',]
|
||||
radky = []
|
||||
|
||||
vysledky = VysledkyKCislu.objects.filter(cislo = cislo).select_related("resitel").all()
|
||||
vysledky = VysledkyKCislu.objects.filter(cislo = cislo).select_related("resitel").order_by('-body_celkem').all()
|
||||
|
||||
posledni_body = 100000
|
||||
posledni_poradi = 0
|
||||
|
|
Loading…
Reference in a new issue