forked from 0x2620/pandora
really fix sort
This commit is contained in:
parent
eac3c4c44b
commit
38abce6033
1 changed files with 2 additions and 2 deletions
|
@ -594,8 +594,8 @@ class Item(models.Model):
|
|||
continue
|
||||
source = key['value']['key']
|
||||
sort_type = key['value'].get('type', sort_type)
|
||||
if isinstance(sort_type, list):
|
||||
sort_type = sort_type[0]
|
||||
if isinstance(sort_type, list):
|
||||
sort_type = sort_type[0]
|
||||
|
||||
if name not in base_keys:
|
||||
if sort_type == 'title':
|
||||
|
|
Loading…
Reference in a new issue