Fix issue with search not updating

Related: entgra/product-iots#6
4.x.x
Madawa Soysa 6 years ago
parent 6aca4650e2
commit 9b5cb1ef6a

@ -470,7 +470,7 @@ public class UserManagementServiceImpl implements UserManagementService {
tempList = getUserList(Constants.USER_CLAIM_LAST_NAME, lastName);
if (commonUsers == null || commonUsers.size() == 0) {
commonUsers = tempList;
} else if (tempList.size() > 0){
} else {
commonUsers.retainAll(tempList);
}
}
@ -479,7 +479,7 @@ public class UserManagementServiceImpl implements UserManagementService {
tempList = getUserList(Constants.USER_CLAIM_EMAIL_ADDRESS, emailAddress);
if (commonUsers == null || commonUsers.size() == 0) {
commonUsers = tempList;
} else if (tempList.size() > 0) {
} else {
commonUsers.retainAll(tempList);
}
}

Loading…
Cancel
Save