From: Bruno Sinou Date: Thu, 10 Oct 2013 15:15:32 +0000 (+0000) Subject: fix bug 166 - workspace versions messed up in Repo UI - https://www.argeo.org/bugzill... X-Git-Tag: argeo-slc-2.1.7~300 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=6b0917c626d3c48c4b22c143c162dfcce13ae1cf;p=gpl%2Fargeo-slc.git fix bug 166 - workspace versions messed up in Repo UI - https://www.argeo.org/bugzilla/show_bug.cgi?id=166 git-svn-id: https://svn.argeo.org/slc/trunk@6541 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/GroupElem.java b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/GroupElem.java index 8e9cef36d..ca7213a27 100644 --- a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/GroupElem.java +++ b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/GroupElem.java @@ -58,7 +58,9 @@ public class GroupElem extends DistParentElem { } // filter technical workspaces - if (workspaceName.startsWith(name)) { + if (workspaceName.startsWith(name) + && workspaceName.substring(0, + workspaceName.indexOf("-")).equals(name)) { distributionElems.add(new WorkspaceElem(repoElem, workspaceName)); }