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.3 to 3179fb2
Date Fri, 03 Jan 2014 23:09:19 GMT
Updated Branches:
  refs/heads/4.3 deae1a2d3 -> 3179fb2a5


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

Branch: refs/heads/4.3
Commit: 3179fb2a5c527ed0c050b71eb80e7b3f4a2c9ad8
Parents: deae1a2
Author: Min Chen <min.chen@citrix.com>
Authored: Fri Jan 3 14:33:44 2014 -0800
Committer: Min Chen <min.chen@citrix.com>
Committed: Fri Jan 3 15:09: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/3179fb2a/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 37c2ef6..fe77d05 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -2145,7 +2145,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