[Library|Trunk]
Search: - search page component: add check about customFilter - entities selection: correct the custom filter fields for monitor git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59267 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
6137dc874c
commit
6243ab5b74
|
@ -152,10 +152,10 @@ export class EntitiesSelectionComponent {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
} else if((this.customFilter && this.customFilter.queryFieldName == "communityId") && this.properties.adminToolsCommunity === "monitor") {
|
} else if((this.customFilter && this.customFilter.queryFieldName == "community") && this.properties.adminToolsCommunity === "monitor") {
|
||||||
this.show = 1;
|
this.show = 1;
|
||||||
this.disableSelect = true;
|
this.disableSelect = true;
|
||||||
} else if(this.customFilter && (this.customFilter.queryFieldName == "relfunderid" || this.customFilter.queryFieldName == "funderid")) {
|
} else if(this.customFilter && (this.customFilter.queryFieldName == "relfunder" || this.customFilter.queryFieldName == "funder")) {
|
||||||
/*this.showResearchOutcomes = true;
|
/*this.showResearchOutcomes = true;
|
||||||
this.showPublications = true;
|
this.showPublications = true;
|
||||||
this.showDatasets = true;
|
this.showDatasets = true;
|
||||||
|
|
|
@ -403,10 +403,8 @@ export class NewSearchPageComponent {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(this.customFilter.queryFieldName == filter.filterId && values.indexOf(StringUtils.quote(this.customFilter.valueId)) != -1){
|
if(this.customFilter){
|
||||||
this.customFilter.selected = true;
|
this.customFilter.selected = this.customFilter.queryFieldName == filter.filterId && values.indexOf(StringUtils.quote(this.customFilter.valueId)) != -1;
|
||||||
}else{
|
|
||||||
this.customFilter.selected = false;
|
|
||||||
}
|
}
|
||||||
} else if (this.quickFilter && this.quickFilter.filterId == filter.filterId && this.quickFilter.selected) {
|
} else if (this.quickFilter && this.quickFilter.filterId == filter.filterId && this.quickFilter.selected) {
|
||||||
for (let filterValue of filter.values) {
|
for (let filterValue of filter.values) {
|
||||||
|
|
Loading…
Reference in New Issue