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
This commit is contained in:
Massimiliano Assante 2018-01-17 16:07:46 +00:00
parent c9e94d2afb
commit 34a57dfc49
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ function queryCatalogue() {
} else { } else {
$('#inputQueryCatalogue').css("border","1px solid #ccc"); $('#inputQueryCatalogue').css("border","1px solid #ccc");
var encodedQuery = btoa("q="+$('#inputQueryCatalogue').val()); var encodedQuery = btoa("q="+$('#inputQueryCatalogue').val());
location.href = $('#catalogueURL').val() + "?query=" + encodedQuery; location.href = $('#catalogueURL').val() + "?path=/dataset&query=" + encodedQuery;
} }
} }