Revision 60906
Added by Konstantinos Triantafyllou about 3 years ago
modules/uoa-services-library/trunk/ng-openaire-library/src/app/sharedComponents/numbers/numbers.component.ts | ||
---|---|---|
219 | 219 |
} |
220 | 220 |
|
221 | 221 |
init(getDatasetsLinked = false, getSoftwareLinked = false, getPublications = true, getDatasets = true, |
222 |
getSoftware = true, getOther = true, getProjects = true, getDataProviders = true) { |
|
222 |
getSoftware = true, getOther = true, getProjects = true, getDataProviders = true, refineValue: string = null) {
|
|
223 | 223 |
this.loading = true; |
224 |
if(refineValue) { |
|
225 |
this.refineValue = refineValue; |
|
226 |
} |
|
224 | 227 |
let refineParams = (this.refineValue)?('&fq=' + this.refineValue):null; |
225 | 228 |
this.subs.push(zip( |
226 | 229 |
(getPublications)?this.searchResearchResultsService.numOfSearchResults('publication', '', this.properties, refineParams):this.empty, |
Also available in: Unified diff
[Library | Trunk]: Numbers: Add refine value on init