refactor: using cached property
This commit is contained in:
parent
ae18f74311
commit
520c8503a8
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ class Engine:
|
|||
continue
|
||||
# Nested set support
|
||||
if isinstance(value, (list, tuple)):
|
||||
if value in OPERATOR_MAP["nested_set"]:
|
||||
if value in self.OPERATOR_MAP["nested_set"]:
|
||||
field = frappe.meta.get_field("name")
|
||||
ref_doctype = field.options if field else table
|
||||
lft, rgt = "", ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue