summaryrefslogtreecommitdiff
path: root/searx/query.py
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2019-07-16 16:27:29 +0200
committerDalf <alex@al-f.net>2019-07-17 09:05:29 +0200
commitc7220b40ead8c53b21e1533d23ffff8ae3b831bd (patch)
tree7131623994ea3f4bfe3e6cf7bfa0c2895918925d /searx/query.py
parentddee4861cee8d5b08e9219d4e727acc35fc3ca32 (diff)
downloadsearxng-c7220b40ead8c53b21e1533d23ffff8ae3b831bd.tar.gz
searxng-c7220b40ead8c53b21e1533d23ffff8ae3b831bd.zip
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
Diffstat (limited to 'searx/query.py')
-rw-r--r--searx/query.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/query.py b/searx/query.py
index f76bd91d3..5265ac914 100644
--- a/searx/query.py
+++ b/searx/query.py
@@ -145,6 +145,7 @@ class RawTextQuery(object):
self.query_parts[-1] = search_query
else:
self.query_parts.append(search_query)
+ return self
def getSearchQuery(self):
if len(self.query_parts):