Production release February 2024 [CONNECT] #34
|
@ -587,4 +587,13 @@ export class SearchResearchResultsService {
|
||||||
return this.http.get((properties.useCache) ? (properties.cacheUrl + encodeURIComponent(url)) : url)
|
return this.http.get((properties.useCache) ? (properties.cacheUrl + encodeURIComponent(url)) : url)
|
||||||
.pipe(map(res => res['meta']['total']));
|
.pipe(map(res => res['meta']['total']));
|
||||||
}
|
}
|
||||||
|
fetchByDOIs(DOIs:string[]): any {
|
||||||
|
// let url = properties.searchAPIURLLAst + "resources2/?format=json";
|
||||||
|
let url = "http://beta.services.openaire.eu:8480/search/rest/v2/api/researchProducts/byDoi"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return this.http.post(url, {doiArray: DOIs})
|
||||||
|
.pipe(map(res => [res['meta'].total, this.parseResults("result", res['results'], properties), RefineResultsUtils.parse(res['refineResults'], null, "publication")]));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue