Skip to content

Commit 0678a01

Browse files
committed
Fix for users
1 parent 101d2a0 commit 0678a01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/com/cloud/api/query/QueryManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ private Pair<List<UserAccountJoinVO>, Integer> getUserListInternal(Account calle
602602
sb.and("accountName", sb.entity().getAccountName(), Op.EQ);
603603
sb.and("state", sb.entity().getState(), Op.EQ);
604604

605-
if ((accountName == null) && (domainId != null)) {
605+
if ((accountName == null) && (domainId != null) && isRecursive) {
606606
sb.and("domainPath", sb.entity().getDomainPath(), Op.LIKE);
607607
}
608608

0 commit comments

Comments
 (0)