forked from 0x2620/pandora
sort is lowercase
This commit is contained in:
parent
1d6f64eed9
commit
c3dbeaee68
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class Event(models.Model):
|
||||||
value = get_name_sort(value)
|
value = get_name_sort(value)
|
||||||
else:
|
else:
|
||||||
value = get_title_sort(value)
|
value = get_title_sort(value)
|
||||||
self.name_sort = utils.sort_string(value)
|
self.name_sort = utils.sort_string(value).lower()
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
if not self.name_sort:
|
if not self.name_sort:
|
||||||
|
|
Loading…
Reference in a new issue