mirror of
https://github.com/veops/cmdb.git
synced 2025-09-22 21:39:41 +08:00
fix(api): ci relation search
This commit is contained in:
@@ -64,7 +64,7 @@ class Search(object):
|
|||||||
|
|
||||||
self.ancestor_ids = ancestor_ids
|
self.ancestor_ids = ancestor_ids
|
||||||
self.descendant_ids = descendant_ids
|
self.descendant_ids = descendant_ids
|
||||||
self.root_parent_path = root_parent_path
|
self.root_parent_path = root_parent_path or []
|
||||||
self.has_m2m = has_m2m or False
|
self.has_m2m = has_m2m or False
|
||||||
if not self.has_m2m:
|
if not self.has_m2m:
|
||||||
if self.ancestor_ids:
|
if self.ancestor_ids:
|
||||||
|
Reference in New Issue
Block a user