+
+
+
There are no data providers
+
An Error Occured
+
Service not available
+
Loading...
0">
@@ -164,16 +169,22 @@
- Projects report(CSV) for {{funder.name}}
+ Project list for {{funder.name}} (CSV)
- Publications report(CSV) for {{funder.name}}
+ Project Publications for {{funder.name}} (CSV)
+
diff --git a/portal-2/src/app/landingPages/organization/organization.component.ts b/portal-2/src/app/landingPages/organization/organization.component.ts
index 3f7abef2..c564c0a0 100644
--- a/portal-2/src/app/landingPages/organization/organization.component.ts
+++ b/portal-2/src/app/landingPages/organization/organization.component.ts
@@ -10,7 +10,7 @@ import {SearchPublicationsService} from '../../services/searchPublications.servi
import {SearchDataprovidersService} from '../../services/searchDataproviders.service';
import {SearchProjectsService} from '../../services/searchProjects.service';
import { Meta} from '../../../angular2-meta';
-import {OpenaireProperties} from '../../utils/properties/openaireProperties';
+import {OpenaireProperties, ErrorCodes} from '../../utils/properties/openaireProperties';
import {SearchingProjectsTabComponent} from '../searchingProjectsInTab.component';
import {RouterHelper} from '../../utils/routerHelper.class';
@@ -56,6 +56,8 @@ export class OrganizationComponent {
private funderId: string;
private count: number;
+ public errorCodes:ErrorCodes = new ErrorCodes();
+
constructor (private element: ElementRef,
private _organizationService: OrganizationService,
private route: ActivatedRoute,
@@ -197,7 +199,7 @@ export class OrganizationComponent {
private searchDataproviders() {
this.fetchDataproviders.getResultsForEntity("organization", this.organizationId, 1, 10);
- this.linkToSearchDataproviders = OpenaireProperties.getLinkToAdvancedSearchDataProviders();// + "?organization=" + this.organizationId + "&or=and";;
+ this.linkToSearchDataproviders = OpenaireProperties.getLinkToAdvancedSearchDataProviders();
}
private searchDataprovidersInit() {
diff --git a/portal-2/src/app/landingPages/person/person.component.ts b/portal-2/src/app/landingPages/person/person.component.ts
index 3c5022df..30f585ce 100644
--- a/portal-2/src/app/landingPages/person/person.component.ts
+++ b/portal-2/src/app/landingPages/person/person.component.ts
@@ -123,14 +123,16 @@ export class PersonComponent {
this.updateTitle(this.personInfo.fullname);
this.updateDescription("person, publication, research data, search, open access, "+this.personInfo.fullname);
- this._searchDatasetsService.numOfEntityDatasets(this.personId, "people/").subscribe(
+ /*this._searchDatasetsService.numOfEntityDatasets("people/"+this.personId).subscribe(
data => {
this.fetchDatasets.searchUtils.totalResults = data;
},
err => {
console.log(err);
}
- );
+ );*/
+ this.fetchDatasets.getNumResultsForEntity("people", this.personId);
+
},
err => {
diff --git a/portal-2/src/app/landingPages/project/project.component.html b/portal-2/src/app/landingPages/project/project.component.html
index addcf5ef..014da05f 100644
--- a/portal-2/src/app/landingPages/project/project.component.html
+++ b/portal-2/src/app/landingPages/project/project.component.html
@@ -12,41 +12,41 @@