case insensitive sort value
This commit is contained in:
parent
ac5c2ab9c8
commit
efaf356f15
1 changed files with 1 additions and 1 deletions
|
@ -1346,7 +1346,7 @@ class Facet(models.Model):
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
if not self.sortvalue:
|
if not self.sortvalue:
|
||||||
self.sortvalue = utils.sort_string(self.value)
|
self.sortvalue = utils.sort_string(self.value).lower()
|
||||||
super(Facet, self).save(*args, **kwargs)
|
super(Facet, self).save(*args, **kwargs)
|
||||||
|
|
||||||
class Description(models.Model):
|
class Description(models.Model):
|
||||||
|
|
Loading…
Reference in a new issue