Lowercase
This commit is contained in:
parent
e4d9d0f17b
commit
5aa4332eef
@ -444,7 +444,7 @@ def autocomplete_search():
|
||||
if request.method == 'GET':
|
||||
#query = request.form['search']
|
||||
query = request.args.get('q')
|
||||
query_tokenized = query.lower().split()
|
||||
query_tokenized = query.split()
|
||||
#print(query_tokenized)
|
||||
word_1 = query_tokenized[-2]
|
||||
word_2 = query_tokenized[-1]
|
||||
|
Loading…
Reference in New Issue
Block a user