BUG-ID:CLOUDSTACK-9678

listNetworkOfferings API is listing all the offerings which has same prefix in their name
This commit is contained in:
pallavi_dumbre 2016-06-15 15:37:06 +05:30 committed by Suresh Kumar Anaparti
parent e02003d653
commit be554d2cb6

View File

@ -4555,7 +4555,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
}
if (name != null) {
sc.addAnd("name", SearchCriteria.Op.LIKE, "%" + name + "%");
sc.addAnd("name", SearchCriteria.Op.EQ, name);
}
if (guestIpType != null) {