Merge pull request #4912 from ShashaQin/patch-31
minor improvement on item query
diff --git a/erpnext/controllers/queries.py b/erpnext/controllers/queries.py
index 6261e58..fc1ce83 100644
--- a/erpnext/controllers/queries.py
+++ b/erpnext/controllers/queries.py
@@ -169,6 +169,7 @@
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}