mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 10:47:47 +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.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
|
||||
if not self.has_m2m:
|
||||
if self.ancestor_ids:
|
||||
|
Reference in New Issue
Block a user