forked from 0x2620/pandora
actually use name sort
This commit is contained in:
parent
dde8ba5348
commit
d1562237de
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ class Item(models.Model):
|
|||
sortvalue = value
|
||||
if key in self.person_keys + ['name']:
|
||||
sortvalue = get_name_sort(value)
|
||||
sortvalue = utils.sort_string(value).lower()[:900]
|
||||
sortvalue = utils.sort_string(sortvalue).lower()[:900]
|
||||
Facet.objects.get_or_create(item=self, key=key, value=value, sortvalue=sortvalue)
|
||||
self.update_layer_facets()
|
||||
|
||||
|
|
Loading…
Reference in a new issue