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 6eec7b9707
commit 6b7ea7f90d
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,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);
}