fix - org rancher linked list bug of org_vhild to queryset
This commit is contained in:
@@ -16,6 +16,7 @@ class RancherOrganizationService:
|
||||
"""
|
||||
if org.type.key != 'ADM':
|
||||
organizations = get_all_org_child(org)
|
||||
organizations = Organization.objects.filter(id__in=[item.id for item in organizations])
|
||||
else:
|
||||
organizations = Organization.objects.filter(type__key=org_type_key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user