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 = {
|
||||
'id': 'itemId',
|
||||
}.get(e['key'], e['key'])
|
||||
if key not in ('itemId', ):
|
||||
key = "%s%s" % (prefix, key)
|
||||
order = '%s%s' % (operator, key)
|
||||
order_by.append(order)
|
||||
|
|
Loading…
Reference in a new issue