[master | DONE | CHANGED] For the browse of researchers: re-add IE filter and remove # of results from the cards

This commit is contained in:
argirok 2024-02-14 16:42:41 +02:00
parent f5d85aef86
commit 96a9cd4090
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@
<div class="uk-padding-remove-left uk-width-expand">
<div class="uk-h6 uk-margin-xsmall-bottom uk-text-truncate">{{author.authorGivenName}} {{author.authorFamilyName}}</div>
<div class="uk-text-primary uk-text-xsmall uk-text-bold">
<div *ngIf="author.resultsCount && author.resultsCount > 0">{{author.resultsCount}} research outcomes</div>
<!-- <div *ngIf="author.resultsCount && author.resultsCount > 0">{{author.resultsCount}} research outcomes</div>-->
<div class="uk-text-truncate" *ngIf="author.institutions">{{author.institutions.join(", ")}}</div>
</div>
</div>

View File

@ -176,7 +176,8 @@ private getOpenaireResultsFor(start, end){
}
}
private getOpenaireResultsObs(author){
let param = '(authorid="' + StringUtils.URIEncode(author.id) + '")';
let param = '(authorid="' + StringUtils.URIEncode(author.id) + '")'
+' and (country exact "IE")';
return this._searchResearchResultsService.numOfResearchOutcomes(param, properties, null).pipe(map(res => {
author.resultsCount = res;
return author;