From 17f5e2742bbc8496f812f660e296229e46392614 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 14 Jul 2013 14:31:29 +0000 Subject: [PATCH] fix sort by item --- pandora/edit/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/edit/views.py b/pandora/edit/views.py index 365acb9a..a8c43684 100644 --- a/pandora/edit/views.py +++ b/pandora/edit/views.py @@ -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)