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/4.2 to 5e615f7
Date Mon, 06 Jan 2014 22:47:13 GMT
Updated Branches:
  refs/heads/4.2 1870124c4 -> 5e615f74b


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/5e615f74
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5e615f74
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5e615f74

Branch: refs/heads/4.2
Commit: 5e615f74b680916d4a9da2722012266e1e69e558
Parents: 1870124
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:29:17 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/5e615f74/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 66104b6..8032edb 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -2077,7 +2077,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