remove fromAZ

This commit is contained in:
j 2019-08-02 13:40:02 +02:00
parent df5dabbec5
commit 9686aab860

View file

@ -940,7 +940,7 @@ class Item(models.Model):
if not settings.USE_IMDB and s.public_id.isupper() and s.public_id.isalpha(): if not settings.USE_IMDB and s.public_id.isupper() and s.public_id.isalpha():
s.public_id = ox.sort_string(str(ox.fromAZ(s.public_id))) s.public_id = ox.sort_string(str(ox.fromAZ(s.public_id)))
else: else:
s.public_id = ox.sort_string(str(ox.fromAZ(s.public_id))) s.public_id = ox.sort_string(s.public_id)
s.modified = self.modified or datetime.now() s.modified = self.modified or datetime.now()
s.created = self.created or datetime.now() s.created = self.created or datetime.now()
s.rightslevel = self.level s.rightslevel = self.level