mirror of https://github.com/apache/cloudstack.git
bug 8702: return events for removed account when "account" parameter is specified in listEvents command
status 8702: resolved fixed
This commit is contained in:
parent
f8993d9ec4
commit
66455c0767
|
|
@ -2091,7 +2091,6 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
if (accountName != null) {
|
||||
sc.setParameters("domainIdEQ", domainId);
|
||||
sc.setParameters("accountName", "%" + accountName + "%");
|
||||
sc.addAnd("removed", SearchCriteria.Op.NULL);
|
||||
} else if (isAdmin) {
|
||||
DomainVO domain = _domainDao.findById(domainId);
|
||||
sc.setJoinParameters("domainSearch", "path", domain.getPath() + "%");
|
||||
|
|
|
|||
Loading…
Reference in New Issue