[Library | Trunk]: Numbers: Add refine value on init
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60906 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
f2d245a86a
commit
188f272ea7
|
@ -219,8 +219,11 @@ export class NumbersComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
init(getDatasetsLinked = false, getSoftwareLinked = false, getPublications = true, getDatasets = true,
|
||||
getSoftware = true, getOther = true, getProjects = true, getDataProviders = true) {
|
||||
getSoftware = true, getOther = true, getProjects = true, getDataProviders = true, refineValue: string = null) {
|
||||
this.loading = true;
|
||||
if(refineValue) {
|
||||
this.refineValue = refineValue;
|
||||
}
|
||||
let refineParams = (this.refineValue)?('&fq=' + this.refineValue):null;
|
||||
this.subs.push(zip(
|
||||
(getPublications)?this.searchResearchResultsService.numOfSearchResults('publication', '', this.properties, refineParams):this.empty,
|
||||
|
|
Loading…
Reference in New Issue