forked from 0x2620/pandora
position = start
This commit is contained in:
parent
80ed3b19d0
commit
72be96fe56
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ def order_query(qs, sort):
|
||||||
key = {
|
key = {
|
||||||
'in': 'start',
|
'in': 'start',
|
||||||
'out': 'end',
|
'out': 'end',
|
||||||
|
'position': 'start',
|
||||||
}.get(e['key'], e['key'])
|
}.get(e['key'], e['key'])
|
||||||
if key not in ('start', 'end', 'mode', 'hash'):
|
if key not in ('start', 'end', 'mode', 'hash'):
|
||||||
key = 'sort__%s' % key
|
key = 'sort__%s' % key
|
||||||
|
|
Loading…
Reference in a new issue