[hotfix] Product Search

This commit is contained in:
Anand Doshi
2014-08-25 18:38:08 +05:30
parent 580f447bbd
commit e0ffe7a575

View File

@@ -18,7 +18,7 @@ def get_product_list(search=None, start=0, limit=10):
# search term condition # search term condition
if search: if search:
query += """and web_long_description like %(search)s query += """ and (web_long_description like %(search)s
or description like %(search)s or description like %(search)s
or item_name like %(search)s or item_name like %(search)s
or name like %(search)s)""" or name like %(search)s)"""