mirror of https://github.com/apache/cloudstack.git
bug 12329: use diff field name in listIps search
status 12329: resolved fixed
This commit is contained in:
parent
50a1bfed06
commit
3acf49daa5
|
|
@ -1885,7 +1885,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
sb.and("vlanDbId", sb.entity().getVlanId(), SearchCriteria.Op.EQ);
|
||||
sb.and("id", sb.entity().getId(), SearchCriteria.Op.EQ);
|
||||
sb.and("physicalNetworkId", sb.entity().getPhysicalNetworkId(), SearchCriteria.Op.EQ);
|
||||
sb.and("associatedNetworkId", sb.entity().getAssociatedWithNetworkId(), SearchCriteria.Op.EQ);
|
||||
sb.and("associatedNetworkIdEq", sb.entity().getAssociatedWithNetworkId(), SearchCriteria.Op.EQ);
|
||||
|
||||
if ((permittedAccounts.isEmpty()) && (domainId != null)) {
|
||||
// if accountId isn't specified, we can do a domain match for the admin case
|
||||
|
|
@ -1961,7 +1961,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
}
|
||||
|
||||
if (associatedNetworkId != null) {
|
||||
sc.setParameters("associatedNetworkId", associatedNetworkId);
|
||||
sc.setParameters("associatedNetworkIdEq", associatedNetworkId);
|
||||
}
|
||||
|
||||
return _publicIpAddressDao.search(sc, searchFilter);
|
||||
|
|
|
|||
Loading…
Reference in New Issue