mirror of
https://github.com/searxng/searxng.git
synced 2026-05-20 01:44:32 +02:00
[mod] searx.query.RawTextQuery: getSearchQuery and changeSearchQuery rename to getQuery and changeQuery
getSearchQuery is confusing, the method returns a str not a SearchQuery object
This commit is contained in:
+1
-1
@@ -268,7 +268,7 @@ def get_search_query_from_webapp(preferences, form):
|
||||
raw_text_query = RawTextQuery(form['q'], disabled_engines)
|
||||
|
||||
# set query
|
||||
query = raw_text_query.getSearchQuery()
|
||||
query = raw_text_query.getQuery()
|
||||
|
||||
# get and check page number
|
||||
pageno_param = form.get('pageno', '1')
|
||||
|
||||
Reference in New Issue
Block a user