mirror of https://github.com/apache/cloudstack.git
bug 7498: fixed search by keyword in listVolumes
status 7498: resolved fixed
This commit is contained in:
parent
050f8aa33b
commit
2da50d881b
|
|
@ -2629,7 +2629,6 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
if (keyword != null) {
|
||||
SearchCriteria<VolumeVO> ssc = _volumeDao.createSearchCriteria();
|
||||
ssc.addOr("name", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
ssc.addOr("nameLabel", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
ssc.addOr("volumeType", SearchCriteria.Op.LIKE, "%" + keyword + "%");
|
||||
|
||||
sc.addAnd("name", SearchCriteria.Op.SC, ssc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue