position = start

This commit is contained in:
j 2012-06-16 23:41:55 +02:00
parent 80ed3b19d0
commit 72be96fe56
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ def order_query(qs, sort):
key = {
'in': 'start',
'out': 'end',
'position': 'start',
}.get(e['key'], e['key'])
if key not in ('start', 'end', 'mode', 'hash'):
key = 'sort__%s' % key