From 21e9c87305283ef7ebceb56e1d21e2e0400f916b Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sun, 27 Oct 2013 14:55:47 +0100 Subject: [PATCH] [mod] pageload stat order --- searx/engines/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index 371fa8fad..c732c2374 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -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)) ]