diff --git a/pandora/clip/views.py b/pandora/clip/views.py index 5339b6b0..99f8dbd6 100644 --- a/pandora/clip/views.py +++ b/pandora/clip/views.py @@ -31,6 +31,10 @@ def parse_query(data, user): def order_query(qs, sort): order_by = [] + sort += [ + {'key': 'position', 'operator': '+'}, + {'key': 'text', 'operator': '-'} + ] for e in sort: operator = e['operator'] if operator != '-':