summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2014-09-28 16:51:41 +0200
committerDalf <alex@al-f.net>2014-09-28 16:51:41 +0200
commit6bfd5663539052a64c984f5bdb7135d0d652c923 (patch)
treeacf2049046d62c0b4849d0b36815dfe21117bcec /searx/webapp.py
parente39d9fe5423a0fceed1d15dc63c1f8aa30d72e44 (diff)
[enh] add infoboxes and answers
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 42cb42678..d0212169c 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -198,7 +198,7 @@ def index():
'index.html',
)
- search.results, search.suggestions = search.search(request)
+ search.results, search.suggestions, search.answers, search.infoboxes = search.search(request)
for result in search.results:
@@ -291,6 +291,8 @@ def index():
pageno=search.pageno,
base_url=get_base_url(),
suggestions=search.suggestions,
+ answers=search.answers,
+ infoboxes=search.infoboxes,
theme=get_current_theme_name()
)