Changed query parameter when redirecting to the created dataset

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129099 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-06-13 16:21:15 +00:00
parent 6aed0c0ffe
commit aaae6ab5c3
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public class AddResourceToDataset extends Composite{
return;
String finalPart = datasetUrl.substring(datasetIndex);
String finalPath = currentPath + "?" + Encoder.encode("q") + "=" + Encoder.encode(finalPart);
String finalPath = currentPath + "?" + Encoder.encode("goDataset") + "=" + Encoder.encode(finalPart);
Window.Location.assign(finalPath);
}
});

View File

@ -561,7 +561,7 @@ public class CreateDatasetForm extends Composite{
return;
String finalPart = datasetUrl.substring(datasetIndex);
String finalPath = currentPath + "?" + Encoder.encode("q") + "=" + Encoder.encode(finalPart);
String finalPath = currentPath + "?" + Encoder.encode("goDataset") + "=" + Encoder.encode(finalPart);
Window.Location.assign(finalPath);
}
});