forked from 0x2620/pandora
dont special case id, fixes #602
This commit is contained in:
parent
b4f7c498ed
commit
6d6555e3bb
1 changed files with 1 additions and 2 deletions
|
@ -49,7 +49,6 @@ def _order_query(qs, sort, prefix='sort__'):
|
||||||
key = {
|
key = {
|
||||||
'id': 'itemId',
|
'id': 'itemId',
|
||||||
}.get(e['key'], e['key'])
|
}.get(e['key'], e['key'])
|
||||||
if key not in ('itemId', ):
|
|
||||||
key = "%s%s" % (prefix, key)
|
key = "%s%s" % (prefix, key)
|
||||||
order = '%s%s' % (operator, key)
|
order = '%s%s' % (operator, key)
|
||||||
order_by.append(order)
|
order_by.append(order)
|
||||||
|
|
Loading…
Reference in a new issue