Fixed location search

pull/3/head
Davide Bongiovanni 6 years ago
parent 582370a17d
commit 0789b3a0d8

@ -147,7 +147,7 @@ def query(filter_dummy, query):
if filter['l'] == 'true':
s += '('
for i in range(len(keywords)):
s += 'LOWER(l.name) like LOWER(:kw'+ str(i) +') AND '
s += 'LOWER(c.name||l.name) like LOWER(:kw'+ str(i) +') AND '
s = s[:-5]
s += ') OR '
if filter['p'] == 'true':

Loading…
Cancel
Save