summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/resources/result_handlers.py
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2017-07-19 09:47:53 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-19 09:47:53 +0000
commit8c50059cf3963b386b6f08606f8ed1d884f27dc7 (patch)
treef366a97d3d99136300a0e8f816f6c9b266891e3b /testapi/opnfv_testapi/resources/result_handlers.py
parent1dd57d98ed2dd28e76277dd44cf6419a5b501091 (diff)
parent1e7205a12171f0ad81391b56ffe1b2fe29e2bb6a (diff)
Merge "bugfix: mix order of Arno results"
Diffstat (limited to 'testapi/opnfv_testapi/resources/result_handlers.py')
-rw-r--r--testapi/opnfv_testapi/resources/result_handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/resources/result_handlers.py b/testapi/opnfv_testapi/resources/result_handlers.py
index 1773216..2e15e7a 100644
--- a/testapi/opnfv_testapi/resources/result_handlers.py
+++ b/testapi/opnfv_testapi/resources/result_handlers.py
@@ -147,7 +147,7 @@ class ResultsCLHandler(GenericResultHandler):
@in trust_indicator: query
@required trust_indicator: False
"""
- limitations = {'sort': {'start_date': -1}}
+ limitations = {'sort': {'_id': -1}}
last = self.get_query_argument('last', 0)
if last is not None:
last = self.get_int('last', last)