Skip to content

Commit

Permalink
Merge pull request #41120 from frappe/mergify/bp/develop/pr-36459
Browse files Browse the repository at this point in the history
fix: search not working for so in the Production Plan (backport #36459)
  • Loading branch information
rohitwaghchaure authored Apr 21, 2024
2 parents 41035cc + 9a6e762 commit b4cbd5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ def sales_order_query(doctype=None, txt=None, searchfield=None, start=None, page
query = query.where(so_table.name.isin(filters.get("sales_orders")))

if txt:
query = query.where(table.item_code.like(f"{txt}%"))
query = query.where(table.parent.like(f"%{txt}%"))

if page_len:
query = query.limit(page_len)
Expand Down

0 comments on commit b4cbd5f

Please sign in to comment.