diff options
author | Dalf <alex@al-f.net> | 2019-07-16 16:27:29 +0200 |
---|---|---|
committer | Dalf <alex@al-f.net> | 2019-07-17 09:05:29 +0200 |
commit | c7220b40ead8c53b21e1533d23ffff8ae3b831bd (patch) | |
tree | 7131623994ea3f4bfe3e6cf7bfa0c2895918925d /searx/search.py | |
parent | ddee4861cee8d5b08e9219d4e727acc35fc3ca32 (diff) | |
download | searxng-c7220b40ead8c53b21e1533d23ffff8ae3b831bd.tar.gz searxng-c7220b40ead8c53b21e1533d23ffff8ae3b831bd.zip |
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
Diffstat (limited to 'searx/search.py')
-rw-r--r-- | searx/search.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searx/search.py b/searx/search.py index b81542f1a..a51d111a2 100644 --- a/searx/search.py +++ b/searx/search.py @@ -319,8 +319,9 @@ def get_search_query_from_webapp(preferences, form): for engine in categories[categ] if (engine.name, categ) not in disabled_engines) - return SearchQuery(query, query_engines, query_categories, - query_lang, query_safesearch, query_pageno, query_time_range) + return (SearchQuery(query, query_engines, query_categories, + query_lang, query_safesearch, query_pageno, query_time_range), + raw_text_query) class Search(object): |