fix bug 166 - workspace versions messed up in Repo UI - https://www.argeo.org/bugzill...
authorBruno Sinou <bsinou@argeo.org>
Thu, 10 Oct 2013 15:15:32 +0000 (15:15 +0000)
committerBruno Sinou <bsinou@argeo.org>
Thu, 10 Oct 2013 15:15:32 +0000 (15:15 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@6541 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/GroupElem.java

index 8e9cef36d70b868961c63647cd6e4f0daa08fc14..ca7213a276e7f0b284b4348f49b875adafcc1dd8 100644 (file)
@@ -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));
                                }