|
@ -278,9 +278,8 @@ class PrispevekView(generic.DetailView): |
|
|
try: |
|
|
try: |
|
|
resitel = context['prispevek'].reseni.resitel |
|
|
resitel = context['prispevek'].reseni.resitel |
|
|
cislo = context['prispevek'].reseni.cislo_body |
|
|
cislo = context['prispevek'].reseni.cislo_body |
|
|
body = VysledkyKCisluOdjakziva.objects.filter(resitel=resitel, |
|
|
body = VysledkyKCisluOdjakziva.objects.get(resitel=resitel, |
|
|
cislo=cislo) |
|
|
cislo=cislo).body |
|
|
body = body.first().body |
|
|
|
|
|
titul = resitel.get_titul(body) |
|
|
titul = resitel.get_titul(body) |
|
|
except: |
|
|
except: |
|
|
pass |
|
|
pass |
|
|