CLOUDSTACK-5514. Response of listAccounts API call includes removed users

This commit is contained in:
Likitha Shetty 2013-12-16 15:44:38 +05:30
parent 75f4f55c35
commit 7cac5aa9fc
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class UserAccountJoinDaoImpl extends GenericDaoBase<UserAccountJoinVO, Lo
public List<UserAccountJoinVO> searchByAccountId(Long accountId) {
SearchCriteria<UserAccountJoinVO> sc = vrAcctIdSearch.create();
sc.setParameters("accountId", accountId);
return searchIncludingRemoved(sc, null, null, false);
return search(sc, null, null, false);
}
}