You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sh...@apache.org on 2016/07/07 19:30:18 UTC
[32/53] [abbrv] airavata git commit: fixing query typo
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 <su...@gmail.com>
Authored: Mon Jun 27 18:05:38 2016 -0400
Committer: scnakandala <su...@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) {