From: Loic Baron Date: Wed, 21 Jan 2015 16:13:02 +0000 (+0100) Subject: Projects: Query prefixed with myslice to contact only the Registry X-Git-Tag: myslice-1.3~113^2~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7c013fef45846d3174409ddf03679196885dc4f9;p=myslice.git Projects: Query prefixed with myslice to contact only the Registry --- diff --git a/portal/static/js/myslice.js b/portal/static/js/myslice.js index 4b8fc83b..aa5df439 100644 --- a/portal/static/js/myslice.js +++ b/portal/static/js/myslice.js @@ -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{