Revision 54775
Added by Konstantina Galouni about 5 years ago
organization.component.ts | ||
---|---|---|
126 | 126 |
this.updateUrl(data.envSpecific.baseLink+this._router.url); |
127 | 127 |
this.seoService.createLinkForCanonicalURL(this.properties.baseLink+this._router.url); |
128 | 128 |
}); |
129 |
console.info('organization init'); |
|
130 | 129 |
this.sub = this.route.queryParams.subscribe(params => { |
131 | 130 |
this.organizationInfo=null; |
132 | 131 |
this.updateTitle("Organization"); |
... | ... | |
134 | 133 |
this.projectsClicked = false; |
135 | 134 |
|
136 | 135 |
this.organizationId = params['organizationId']; |
137 |
console.info("Id is :"+this.organizationId); |
|
138 | 136 |
|
139 | 137 |
if(this.organizationId){ |
140 | 138 |
this.getOrganizationInfo(); |
... | ... | |
317 | 315 |
} |
318 | 316 |
|
319 | 317 |
public downloadFile(url:string, filename: string){ |
320 |
console.log("Downloading file: "+ url); |
|
321 | 318 |
|
322 | 319 |
this.openLoading(); |
323 | 320 |
this.setMessageLoading("Downloading CSV file"); |
... | ... | |
350 | 347 |
} |
351 | 348 |
|
352 | 349 |
private downloadPublicationsFile(funder: string, funderId:string, count:number){ |
353 |
console.log("Downloading publications file"); |
|
354 | 350 |
|
355 | 351 |
this.openLoading(); |
356 | 352 |
this.setMessageLoading("Downloading CSV file"); |
... | ... | |
377 | 373 |
if(!title) { |
378 | 374 |
//url = this.downloadURLAPI+"projects/"+projects[index].id+"?type=publications&format=csv-special";//&size="+data; |
379 | 375 |
url = this.downloadURLAPI+"?format=csv-special&type=publications&fq=(((oaftype exact result) and (resulttypeid exact publication)) and (relprojectid exact '"+projects[index].id+"'))" |
380 |
console.info(url); |
|
376 |
//console.info(url);
|
|
381 | 377 |
} else { |
382 | 378 |
//url = this.downloadURLAPI+"projects/"+projects[index].id+"/publications?format=csv-special-notitle";//&size="+data; |
383 | 379 |
url = this.downloadURLAPI+"?format=csv-special-notitle&type=publications&fq=(((oaftype exact result) and (resulttypeid exact publication)) and (relprojectid exact '"+projects[index].id+"'))" |
Also available in: Unified diff
[trunk]: Remove unnecessary logs from library.