Unverified Commit c110d9cf authored by jbochi's avatar jbochi

Fix mongoengine test

parent ac1db34e
......@@ -521,7 +521,7 @@ class ModelView(BaseModelView):
if order:
keys = ['%s%s' % ('-' if desc else '', col)
for (desc, col) in order]
for (col, desc) in order]
query = query.order_by(*keys)
# Pagination
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment