From 425ab6bb1e190a60f4d0b3333c3b1ef9f76de4e0 Mon Sep 17 00:00:00 2001 From: ShashaQin Date: Wed, 2 Mar 2016 13:07:58 +0800 Subject: [PATCH] Update queries.py --- erpnext/controllers/queries.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/controllers/queries.py b/erpnext/controllers/queries.py index 6261e585cd..fc1ce833ba 100644 --- a/erpnext/controllers/queries.py +++ b/erpnext/controllers/queries.py @@ -169,6 +169,7 @@ def item_query(doctype, txt, searchfield, start, page_len, filters): and tabItem.disabled=0 and (tabItem.end_of_life > %(today)s or ifnull(tabItem.end_of_life, '0000-00-00')='0000-00-00') and (tabItem.`{key}` LIKE %(txt)s + or tabItem.item_group LIKE %(txt)s or tabItem.item_name LIKE %(txt)s or tabItem.description LIKE %(txt)s) {fcond} {mcond}