partTitle->part_title, fixes #2515

This commit is contained in:
j 2014-10-17 17:49:01 +02:00
parent 91897832be
commit cddf742efd
1 changed files with 2 additions and 1 deletions

View File

@ -493,7 +493,8 @@ def _order_query(qs, sort, prefix=''):
'id': 'item__public_id',
'users': 'instances__volume__user__username',
'resolution': 'width',
'path': 'sort_path'
'path': 'sort_path',
'partTitle': 'part_title',
}.get(e['key'], e['key'])
#if operator=='-' and '%s_desc'%key in models.ItemSort.descending_fields:
# key = '%s_desc' % key