This commit is contained in:
j 2013-02-03 14:22:20 +05:30
parent 87bf09fad2
commit cd43bc2135

View file

@ -777,7 +777,7 @@ 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: if not settings.USE_IMDB:
s.itemId = ox.sort_string(ox.fromAZ(s.itemId)) s.itemId = ox.sort_string(str(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