cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/master to 89a20d3
Date Mon, 06 Jan 2014 23:31:29 GMT
Updated Branches:
  refs/heads/master 4528a0c0a -> 89a20d3ee


CLOUDSTACK-5771:listImageStores returns error in keyword search.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/89a20d3e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/89a20d3e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/89a20d3e

Branch: refs/heads/master
Commit: 89a20d3eed49ae4a37ad2a141e4d498b6677f0d2
Parents: 4528a0c
Author: Min Chen <min.chen@citrix.com>
Authored: Fri Jan 3 14:33:44 2014 -0800
Committer: Min Chen <min.chen@citrix.com>
Committed: Mon Jan 6 14:50:10 2014 -0800

----------------------------------------------------------------------
 server/src/com/cloud/api/query/QueryManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/89a20d3e/server/src/com/cloud/api/query/QueryManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/QueryManagerImpl.java b/server/src/com/cloud/api/query/QueryManagerImpl.java
index 8ae5159..89e911a 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -2083,7 +2083,7 @@ public class QueryManagerImpl extends ManagerBase implements QueryService
{
         if (keyword != null) {
             SearchCriteria<ImageStoreJoinVO> ssc = _imageStoreJoinDao.createSearchCriteria();
             ssc.addOr("name", SearchCriteria.Op.LIKE, "%" + keyword + "%");
-            ssc.addOr("provider", SearchCriteria.Op.LIKE, "%" + keyword + "%");
+            ssc.addOr("providerName", SearchCriteria.Op.LIKE, "%" + keyword + "%");
             sc.addAnd("name", SearchCriteria.Op.SC, ssc);
         }
 


Mime
View raw message