airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [32/53] [abbrv] airavata git commit: fixing query typo
Date Thu, 07 Jul 2016 19:30:18 GMT
fixing query typo


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/233e6142
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/233e6142
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/233e6142

Branch: refs/heads/master
Commit: 233e6142915ddc5973e8a15dd56d9d4a628c4cd7
Parents: 4e53f23
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Jun 27 18:05:38 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Jun 27 18:05:38 2016 -0400

----------------------------------------------------------------------
 .../registry/core/experiment/catalog/resources/WorkerResource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/233e6142/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
index bddeae4..44e474b 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/WorkerResource.java
@@ -601,7 +601,7 @@ public class WorkerResource extends AbstractExpCatResource {
                 query += " e.experimentId IN (";
                 for(String id : accessibleIds)
                     query += (id + ",");
-                query = query.substring(0, query.length()-1) + ") ";
+                query = query.substring(0, query.length()-1) + ") AND ";
             }
 
             if (filters.get(ExperimentStatusConstants.STATE) != null) {


Mime
View raw message