Skip to content

Commit

Permalink
Update queries.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored and saurabh6790 committed Nov 20, 2019
1 parent 9965f44 commit 364332b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/controllers/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def item_query(doctype, txt, searchfield, start, page_len, filters, as_dict=Fals

columns = ''
extra_searchfields = [field for field in searchfields
if not field in ["name", "item_group", "description"]]
if field not in ["name", "item_group", "description"]]

if extra_searchfields:
columns = ", " + ", ".join(extra_searchfields)
Expand Down

0 comments on commit 364332b

Please sign in to comment.