More filtering fix ups

This commit is contained in:
Matthew Jones
2014-06-25 17:14:31 -04:00
parent 29e698eb41
commit ed9bb6c572
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ def paginated(method):
# Get the order parameter if it's given
if request.QUERY_PARAMS.get("ordering", False):
ordering = request.QUERY_PARAMS[ordering]
ordering = request.QUERY_PARAMS["ordering"]
else:
ordering = None