fix sort by value of smart edits
This commit is contained in:
parent
5c89662f14
commit
e237d08120
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ def _order_clips(edit, sort):
|
||||||
'in': 'start',
|
'in': 'start',
|
||||||
'out': 'end',
|
'out': 'end',
|
||||||
'text': 'sortvalue',
|
'text': 'sortvalue',
|
||||||
'volume': 'sortvolume',
|
'volume': 'volume' if edit.type == 'smart' else 'sortvolume',
|
||||||
'item__sort__item': 'item__sort__public_id',
|
'item__sort__item': 'item__sort__public_id',
|
||||||
}.get(key, key)
|
}.get(key, key)
|
||||||
order = '%s%s' % (operator, key)
|
order = '%s%s' % (operator, key)
|
||||||
|
|
Loading…
Reference in a new issue