dont special case id, fixes #602

This commit is contained in:
j 2012-09-17 13:25:30 +02:00
parent b4f7c498ed
commit 6d6555e3bb

View file

@ -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)