Projects: Query prefixed with myslice to contact only the Registry
authorLoic Baron <loic.baron@lip6.fr>
Wed, 21 Jan 2015 16:13:02 +0000 (17:13 +0100)
committerLoic Baron <loic.baron@lip6.fr>
Wed, 21 Jan 2015 16:13:02 +0000 (17:13 +0100)
portal/static/js/myslice.js

index 4b8fc83..aa5df43 100644 (file)
@@ -198,7 +198,7 @@ var myslice = {
                 parent_authority = user.parent_authority;
             }
             // REGISTRY ONLY TO BE REMOVED WITH MANIFOLD-V2
-            $.post("/rest/authority/",{'fields':['authority_hrn'],'filters':{'authority_hrn':'CONTAINS'+parent_authority}}, function( data ) {
+            $.post("/rest/myslice:authority/",{'fields':['authority_hrn'],'filters':{'authority_hrn':'CONTAINS'+parent_authority}}, function( data ) {
                 localStorage.setItem('projects', JSON.stringify(data));
             });
         }else{