From fcc27eb900dfa9fabecee48af2670ed2a2872faa Mon Sep 17 00:00:00 2001 From: j Date: Thu, 15 Nov 2018 15:23:03 +0000 Subject: [PATCH] sort annotations by id --- pandora/annotation/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/annotation/views.py b/pandora/annotation/views.py index ffafb531..d090de56 100644 --- a/pandora/annotation/views.py +++ b/pandora/annotation/views.py @@ -56,6 +56,7 @@ def order_query(qs, sort): if operator != '-': operator = '' key = { + 'id': 'public_id', 'duration': 'clip__duration', 'in': 'start', 'lightness': 'clip__lightness',