Revision 47540
Added by Konstantina Galouni almost 7 years ago
searchProjects.service.ts | ||
---|---|---|
243 | 243 |
return results; |
244 | 244 |
} |
245 | 245 |
|
246 |
numOfEntityProjects(id: string, entity: string):any {
|
|
246 |
numOfProjects(params: string):any {
|
|
247 | 247 |
|
248 | 248 |
//OpenaireProperties.getSearchAPIURLLast() |
249 | 249 |
//"http://rudie.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2/api/" |
250 |
let url = OpenaireProperties.getSearchAPIURLLast()+entity+id+"/projects/count"+ "?format=json";
|
|
250 |
let url = OpenaireProperties.getSearchAPIURLLast()+params+(params.indexOf("?") == -1 ?"?":"&")+"format=json";
|
|
251 | 251 |
let key = url; |
252 | 252 |
if (this._cache.has(key)) { |
253 | 253 |
return Observable.of(this._cache.get(key)); |
Also available in: Unified diff
Organization landing page: added Publications tab (+count for Projects tab since now it is the second one) & CSV download for the Publications based on affiliations