Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen J. Molaro2020-05-20 00:40:34 +0000
committerRyan D. Brooks2020-05-20 18:09:46 +0000
commitf8aac775dccfd826cc6f7be08ebdf702946eaf05 (patch)
tree755940fad70d68f9323fd1b6182a7295a6944bae
parent0e2395611050c51e31a5b2b171761b116a8404f7 (diff)
downloadorg.eclipse.osee-0.26.0.tar.gz
org.eclipse.osee-0.26.0.tar.xz
org.eclipse.osee-0.26.0.zip
bug[TW17027]: Relation not exists criteria missing artifacts0.26.0
Change-Id: I66016697366dfae2c4f7a8459fd69afa0a8e03d3 Signed-off-by: Stephen J. Molaro <stephen.j.molaro@boeing.com>
-rw-r--r--plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/handlers/RelationTypeNotExistsSqlHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/handlers/RelationTypeNotExistsSqlHandler.java b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/handlers/RelationTypeNotExistsSqlHandler.java
index a7d7c875211..3432066042d 100644
--- a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/handlers/RelationTypeNotExistsSqlHandler.java
+++ b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/handlers/RelationTypeNotExistsSqlHandler.java
@@ -36,9 +36,11 @@ public class RelationTypeNotExistsSqlHandler extends AbstractRelationSqlHandler<
for (int index = 0; index < aSize; index++) {
String artAlias = aliases.get(index);
+ writer.write("(");
writer.writeEquals(relAlias, "a_art_id", artAlias, "art_id");
writer.write(" OR ");
writer.writeEquals(relAlias, "b_art_id", artAlias, "art_id");
+ writer.write(")");
if (index + 1 < aSize) {
writer.writeAndLn();

Back to the top