Seskupovat jen podle čísla?
This commit is contained in:
parent
ea108626af
commit
3a381968a8
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class KorekturovanePDF(models.Model):
|
|||
def cislo_a_tema(self):
|
||||
nazev_split = self.nazev.split()
|
||||
try:
|
||||
return nazev_split[0] + " " + nazev_split[2]
|
||||
return nazev_split[0] # + " " + nazev_split[2]
|
||||
except IndexError:
|
||||
return self.nazev
|
||||
|
||||
|
|
Loading…
Reference in a new issue