Fixed location search
This commit is contained in:
+1
-1
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user