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:
parent
6aed0c0ffe
commit
aaae6ab5c3
|
@ -78,7 +78,7 @@ public class AddResourceToDataset extends Composite{
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String finalPart = datasetUrl.substring(datasetIndex);
|
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);
|
Window.Location.assign(finalPath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -561,7 +561,7 @@ public class CreateDatasetForm extends Composite{
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String finalPart = datasetUrl.substring(datasetIndex);
|
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);
|
Window.Location.assign(finalPath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue