actually use name sort

This commit is contained in:
j 2012-06-12 11:23:25 +02:00
parent dde8ba5348
commit d1562237de

View file

@ -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()