Revise node sorting

We are using a new schema for sorting nodes. This patch replaces the
'sort_keys' and the 'sort_dir' parameters with a single 'sort'
parameter.

Change-Id: I72ea5dfc4b9d63b2f558e2b0b7992d167bc27a8e
This commit is contained in:
tengqm
2016-01-08 03:01:32 -05:00
parent b9e4402367
commit 71e4c42740
11 changed files with 49 additions and 81 deletions

View File

@@ -83,8 +83,7 @@ class NodeController(object):
'cluster_id': 'single',
'limit': 'single',
'marker': 'single',
'sort_dir': 'single',
'sort_keys': 'multi',
'sort': 'single',
'global_project': 'single',
}
params = util.get_allowed_params(req.params, param_whitelist)