fix sort by item

This commit is contained in:
j 2013-07-14 14:31:29 +00:00
parent 163b3ff557
commit 17f5e2742b

View file

@ -158,7 +158,7 @@ def _order_clips(qs, sort):
'in': 'start',
'out': 'end',
'text': 'annotation__sortvalue',
'item__sort__item': 'item__sort__id',
'item__sort__item': 'item__sort__itemId',
}.get(key, key)
order = '%s%s' % (operator, key)
order_by.append(order)