mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 01:52:21 +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:
parent
c4067a9d02
commit
edd8dccd07
4 changed files with 16 additions and 16 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue