Merge pull request #13593 from ioito/hotfix/qx-filter-by-manager

fix(region): external project filter by manager id
This commit is contained in:
Zexi Li
2022-03-04 12:28:19 +08:00
committed by GitHub

View File

@@ -460,6 +460,7 @@ func (manager *SExternalProjectManager) ListItemFilter(
}
return nil, httperrors.NewGeneralError(err)
}
q = q.Equals("manager_id", p.GetId())
provider := p.(*SCloudprovider)
query.CloudaccountId = []string{provider.CloudaccountId}
}