From f680d8613e894f46b859c5d0c3e0d542adb5349e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 6 Feb 2015 12:12:32 +0000 Subject: [PATCH] make sure sortvalue is lowercase, fixes #2667 --- pandora/item/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/item/models.py b/pandora/item/models.py index 0d2035d25..1b1322eef 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -1734,6 +1734,7 @@ class Facet(models.Model): def save(self, *args, **kwargs): if not self.sortvalue: self.sortvalue = utils.sort_string(self.value).lower()[:900] + self.sotvalue = self.sortvalue.lower() super(Facet, self).save(*args, **kwargs) class Description(models.Model):