[mod] pageload stat order

This commit is contained in:
asciimoo 2013-10-27 14:55:47 +01:00
parent f01e67dbd4
commit 21e9c87305

View File

@ -196,7 +196,7 @@ def get_engines_stats():
engine['percentage'] = int(engine['avg']/max_score*100)
return [('Page loads (sec)', sorted(pageloads, key=itemgetter('avg'), reverse=True))
return [('Page loads (sec)', sorted(pageloads, key=itemgetter('avg')))
,('Number of results', sorted(results, key=itemgetter('avg'), reverse=True))
,('Scores', sorted(scores, key=itemgetter('avg'), reverse=True))
]