From d1562237de4aaefac2b7b5ea59816c7b8eebbed7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 12 Jun 2012 11:23:25 +0200 Subject: [PATCH] actually use name sort --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index d97de8ad3..b374b8535 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -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()