fix sort by item
This commit is contained in:
parent
163b3ff557
commit
17f5e2742b
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ def _order_clips(qs, sort):
|
||||||
'in': 'start',
|
'in': 'start',
|
||||||
'out': 'end',
|
'out': 'end',
|
||||||
'text': 'annotation__sortvalue',
|
'text': 'annotation__sortvalue',
|
||||||
'item__sort__item': 'item__sort__id',
|
'item__sort__item': 'item__sort__itemId',
|
||||||
}.get(key, key)
|
}.get(key, key)
|
||||||
order = '%s%s' % (operator, key)
|
order = '%s%s' % (operator, key)
|
||||||
order_by.append(order)
|
order_by.append(order)
|
||||||
|
|
Loading…
Reference in a new issue