diff --git a/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java b/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java index 9492a3e..36ba150 100644 --- a/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java +++ b/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java @@ -167,8 +167,10 @@ public class ThreddsWorkspaceSyncServiceImpl extends RemoteServiceServlet implem if (!isWithinPortal()){ listOfScopes.add(new GcubeScope("devVRE", "/gcube/devsec/devVRE", GcubeScopeType.VRE)); listOfScopes.add(new GcubeScope("NextNext", "/gcube/devNext/NextNext", GcubeScopeType.VRE)); - listOfScopes.add(new GcubeScope("/gcube/devNext", "/gcube/devNext", GcubeScopeType.VO)); - listOfScopes.add(new GcubeScope("/gcube", "/gcube", GcubeScopeType.ROOT)); + listOfScopes.add(new GcubeScope("devNext", "/gcube/devNext", GcubeScopeType.VO)); + listOfScopes.add(new GcubeScope("devsec", "/gcube/devsec", GcubeScopeType.VO)); + listOfScopes.add(new GcubeScope("gcube", "/gcube", GcubeScopeType.ROOT)); + Collections.sort(listOfScopes); return listOfScopes; }