bug 13308: list networks belonging to subdomains when listAll=true is passed to listNetworks

status 13308: resolved fixed
This commit is contained in:
Alena Prokharchyk 2012-01-25 13:36:38 -08:00
parent b07fc6b5f8
commit ebfc1d1d32
1 changed files with 3 additions and 0 deletions

View File

@ -2534,6 +2534,9 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
}
path = _domainDao.findById(caller.getDomainId()).getPath();
if (listAll) {
isRecursive = true;
}
Filter searchFilter = new Filter(NetworkVO.class, "id", false, cmd.getStartIndex(), cmd.getPageSizeVal());
SearchBuilder<NetworkVO> sb = _networksDao.createSearchBuilder();