mirror of https://github.com/apache/cloudstack.git
bug 7829: fixed the keyword search for storage pools
status 7829: resolved fixed
This commit is contained in:
parent
e4674ac127
commit
20ec0beae5
|
|
@ -3710,7 +3710,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
if (keyword != null) {
|
||||
SearchCriteria<StoragePoolVO> ssc = _poolDao.createSearchCriteria();
|
||||
ssc.addOr("name", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
ssc.addOr("type", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
ssc.addOr("poolType", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
|
||||
sc.addAnd("name", SearchCriteria.Op.SC, ssc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue