From 34a57dfc491bbbe40a795eb1eed29d22773da246 Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Wed, 17 Jan 2018 16:07:46 +0000 Subject: [PATCH] alpha version ready for real git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/catalogue-badge-portlet@162275 82a268e6-3cf1-43bd-a215-b396298e98cf --- src/main/webapp/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/js/main.js b/src/main/webapp/js/main.js index 7964857..7af075f 100644 --- a/src/main/webapp/js/main.js +++ b/src/main/webapp/js/main.js @@ -17,6 +17,6 @@ function queryCatalogue() { } else { $('#inputQueryCatalogue').css("border","1px solid #ccc"); var encodedQuery = btoa("q="+$('#inputQueryCatalogue').val()); - location.href = $('#catalogueURL').val() + "?query=" + encodedQuery; + location.href = $('#catalogueURL').val() + "?path=/dataset&query=" + encodedQuery; } } \ No newline at end of file