fix for query parameters when no user is logged in (portlet outside portal)

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@157538 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-10-24 17:21:29 +00:00
parent 69f48f2ef2
commit d317dcf8fe
1 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,8 @@ public class GcubeCkanDataCatalogServiceImpl extends RemoteServiceServlet implem
if(outsidePortal()){ if(outsidePortal()){
CkanConnectorAccessPoint ckan = new CkanConnectorAccessPoint(getCatalogue(scopePerCurrentUrl).getCatalogueUrl(),""); CkanConnectorAccessPoint ckan = new CkanConnectorAccessPoint(getCatalogue(scopePerCurrentUrl).getCatalogueUrl(),"");
ckan.setOutsideFromPortal(true); ckan.setOutsideFromPortal(true);
ckan.addPathInfo(pathInfoParameter);
ckan.addQueryString(queryStringParameters);
return ckan; return ckan;
} }