Returning notes in query
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ def query(filter_dummy, query):
|
|||||||
for i in range(len(keywords)):
|
for i in range(len(keywords)):
|
||||||
kw_dict["kw" + str(i)] = keywords[i]
|
kw_dict["kw" + str(i)] = keywords[i]
|
||||||
|
|
||||||
s = 'select p.id,partno,description, c.name || l.name as location_descriptor from parts as p inner join locations as l on p.location_id = l.id inner join containers as c on l.container_id = c.id where '
|
s = 'select p.id,partno,description,notes, c.name || l.name as location_descriptor from parts as p inner join locations as l on p.location_id = l.id inner join containers as c on l.container_id = c.id where '
|
||||||
|
|
||||||
if filter['l'] == 'true':
|
if filter['l'] == 'true':
|
||||||
s += '('
|
s += '('
|
||||||
|
|||||||
Reference in New Issue
Block a user