fix sort by value of smart edits

This commit is contained in:
j 2021-11-24 14:23:50 +01:00
parent 5c89662f14
commit e237d08120
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ def _order_clips(edit, sort):
'in': 'start',
'out': 'end',
'text': 'sortvalue',
'volume': 'sortvolume',
'volume': 'volume' if edit.type == 'smart' else 'sortvolume',
'item__sort__item': 'item__sort__public_id',
}.get(key, key)
order = '%s%s' % (operator, key)