Revision 56093
Added by Argiro Kokogiannaki almost 5 years ago
home.component.ts | ||
---|---|---|
114 | 114 |
this.showOrganizations = true; |
115 | 115 |
this.showDatasets = true; |
116 | 116 |
this.showSoftware = true; |
117 |
//this.showProjects = false;
|
|
118 |
// this.showDataProviders = true;
|
|
117 |
this.showProjects = true;
|
|
118 |
this.showDataProviders = true; |
|
119 | 119 |
this.getNumbers(); |
120 | 120 |
|
121 | 121 |
/* this.config.getCommunityInformation(this.properties.adminToolsAPIURL, this.properties.adminToolsCommunity).subscribe(data => { |
... | ... | |
235 | 235 |
); |
236 | 236 |
} |
237 | 237 |
if (this.showProjects) { |
238 |
this.subfunders = this._refineFieldResultsService.getRefineFieldsResultsByEntityName(["funder"], "project", this.properties).subscribe( |
|
238 |
this.subfunders = this._refineFieldResultsService.getRefineFieldsResultsByEntityName(["funder"], "project", this.properties, refineQuery).subscribe(
|
|
239 | 239 |
data => { |
240 | 240 |
if (data[0] && data[0] > 0) { |
241 | 241 |
this.projectsSize = NumberUtils.roundNumber(data[0]); |
... | ... | |
252 | 252 |
}); |
253 | 253 |
} |
254 | 254 |
if (this.showDataProviders) { |
255 |
this.subDataPr = this._searchDataprovidersService.numOfSearchDataproviders("", this.properties).subscribe( |
|
255 |
this.subDataPr = this._searchDataprovidersService.numOfSearchDataproviders("", this.properties, refineQuery).subscribe(
|
|
256 | 256 |
data => { |
257 | 257 |
if (data && data > 0) { |
258 | 258 |
this.datasourcesSize = NumberUtils.roundNumber(data); |
Also available in: Unified diff
[Aggregator|Trunk]
Add more numbers in home page
Add pages for projects and content providers
Remove checks for admin tool community Id
Set community in properties as null