forked from 0x2620/pandora
partTitle->part_title, fixes #2515
This commit is contained in:
parent
91897832be
commit
cddf742efd
1 changed files with 2 additions and 1 deletions
|
@ -493,7 +493,8 @@ def _order_query(qs, sort, prefix=''):
|
||||||
'id': 'item__public_id',
|
'id': 'item__public_id',
|
||||||
'users': 'instances__volume__user__username',
|
'users': 'instances__volume__user__username',
|
||||||
'resolution': 'width',
|
'resolution': 'width',
|
||||||
'path': 'sort_path'
|
'path': 'sort_path',
|
||||||
|
'partTitle': 'part_title',
|
||||||
}.get(e['key'], e['key'])
|
}.get(e['key'], e['key'])
|
||||||
#if operator=='-' and '%s_desc'%key in models.ItemSort.descending_fields:
|
#if operator=='-' and '%s_desc'%key in models.ItemSort.descending_fields:
|
||||||
# key = '%s_desc' % key
|
# key = '%s_desc' % key
|
||||||
|
|
Loading…
Reference in a new issue