|
|
@ -444,7 +444,7 @@ def autocomplete_search():
|
|
|
|
if request.method == 'GET':
|
|
|
|
if request.method == 'GET':
|
|
|
|
#query = request.form['search']
|
|
|
|
#query = request.form['search']
|
|
|
|
query = request.args.get('q')
|
|
|
|
query = request.args.get('q')
|
|
|
|
query_tokenized = query.lower().split()
|
|
|
|
query_tokenized = query.split()
|
|
|
|
#print(query_tokenized)
|
|
|
|
#print(query_tokenized)
|
|
|
|
word_1 = query_tokenized[-2]
|
|
|
|
word_1 = query_tokenized[-2]
|
|
|
|
word_2 = query_tokenized[-1]
|
|
|
|
word_2 = query_tokenized[-1]
|
|
|
|