forked from zaclys/searxng
[mod] pageload stat order
This commit is contained in:
parent
f01e67dbd4
commit
21e9c87305
|
@ -196,7 +196,7 @@ def get_engines_stats():
|
||||||
engine['percentage'] = int(engine['avg']/max_score*100)
|
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))
|
,('Number of results', sorted(results, key=itemgetter('avg'), reverse=True))
|
||||||
,('Scores', sorted(scores, key=itemgetter('avg'), reverse=True))
|
,('Scores', sorted(scores, key=itemgetter('avg'), reverse=True))
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue