Add support for zenodo source on autocomplete combobox
This commit is contained in:
parent
5be674d07e
commit
aac277020a
|
@ -122,7 +122,7 @@ public class DatasetProfileManager {
|
|||
|
||||
String url = singleData.getUrl();
|
||||
String mediaType = "";
|
||||
if (url.contains("openaire")) {
|
||||
if (url.contains("openaire") || url.contains("zenodo")) {
|
||||
mediaType = "application/json; charset=utf-8";
|
||||
url = url.replace("{like}", like.equals("") ? "*" : like);
|
||||
url = url.replace("%20", " ");
|
||||
|
|
Loading…
Reference in New Issue