use integer sort string for archives not using imdb ids
This commit is contained in:
parent
2cf3d3e7cb
commit
87bf09fad2
1 changed files with 2 additions and 0 deletions
|
@ -776,6 +776,8 @@ class Item(models.Model):
|
||||||
|
|
||||||
#sort keys based on database, these will always be available
|
#sort keys based on database, these will always be available
|
||||||
s.itemId = self.itemId.replace('0x', 'xx')
|
s.itemId = self.itemId.replace('0x', 'xx')
|
||||||
|
if not settings.USE_IMDB:
|
||||||
|
s.itemId = ox.sort_string(ox.fromAZ(s.itemId))
|
||||||
s.modified = self.modified
|
s.modified = self.modified
|
||||||
s.created = self.created
|
s.created = self.created
|
||||||
s.rightslevel = self.level
|
s.rightslevel = self.level
|
||||||
|
|
Loading…
Reference in a new issue