mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 18:53:39 +00:00
Merge pull request #49852 from fawaaaz111/patch-4
fix: SQL operator precedence in Project query customer filter
This commit is contained in:
@@ -318,7 +318,7 @@ def get_project_name(doctype, txt, searchfield, start, page_len, filters):
|
||||
if filters:
|
||||
if filters.get("customer"):
|
||||
qb_filter_and_conditions.append(
|
||||
(proj.customer == filters.get("customer")) | proj.customer.isnull() | proj.customer == ""
|
||||
(proj.customer == filters.get("customer")) | (proj.customer.isnull()) | (proj.customer == "")
|
||||
)
|
||||
|
||||
if filters.get("company"):
|
||||
|
||||
Reference in New Issue
Block a user