[master | DONE | CHANGED] For the browse of researchers: re-add IE filter and remove # of results from the cards
This commit is contained in:
parent
f5d85aef86
commit
96a9cd4090
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue