mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 00:09:18 +02:00
[enh] add autocompletion for searx-specific strings
This commit is contained in:
parent
29a526ff0e
commit
4e2dae30f0
3 changed files with 85 additions and 3 deletions
|
@ -77,7 +77,7 @@ class Query(object):
|
|||
if lang == lang_id\
|
||||
or lang_id.startswith(lang)\
|
||||
or lang == lang_name\
|
||||
or lang == country:
|
||||
or lang.replace('_', ' ') == country:
|
||||
parse_next = True
|
||||
self.languages.append(lang)
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue