[master | DONE | CHANGED] Researcher dashboards change query - remove irish filter
This commit is contained in:
parent
b07f99faed
commit
2af5775104
|
@ -121,9 +121,9 @@ export class ResearcherComponent extends ResearcherBaseComponent implements OnI
|
|||
|
||||
this.orcid = {
|
||||
success: () => {
|
||||
let name = this.author.authorGivenName + " " + this.author.authorFamilyName?this.author.authorFamilyName:"";
|
||||
let name = this.author.authorGivenName + " " + (this.author.authorFamilyName?this.author.authorFamilyName:"");
|
||||
this._customFilterService.setCustomFilter(
|
||||
[new SearchCustomFilter("National", "country", "IE", "Irish National Monitor", false),
|
||||
[/*new SearchCustomFilter("National", "country", "IE", "Irish National Monitor", false),*/
|
||||
new SearchCustomFilter("Orcid", "authorId", this.authorId, name)
|
||||
]);
|
||||
this.title = name;
|
||||
|
|
|
@ -173,8 +173,7 @@ private getOpenaireResultsFor(start, end){
|
|||
}
|
||||
}
|
||||
private getOpenaireResultsObs(author){
|
||||
let param = '(authorid="' + StringUtils.URIEncode(author.id) + '")'
|
||||
+' and (country exact "IE")';
|
||||
let param = '(authorid="' + StringUtils.URIEncode(author.id) + '")';
|
||||
return this._searchResearchResultsService.numOfResearchOutcomes(param, properties, null).pipe(map(res => {
|
||||
author.resultsCount = res;
|
||||
return author;
|
||||
|
|
|
@ -38,7 +38,7 @@ export class ResearcherBaseComponent extends StakeholderBaseComponent {
|
|||
}
|
||||
|
||||
getResultsForAuthor(){
|
||||
this.param = '(authorid="' + StringUtils.URIEncode(this.author.id) + '") and (country exact "IE")';
|
||||
this.param = '(authorid="' + StringUtils.URIEncode(this.author.id) + '")';
|
||||
this.subscriptions.push(this._searchResearchResultsService.numOfResearchOutcomes(this.param, properties, null).subscribe(res => {
|
||||
if(this.results?.success) {
|
||||
this.results?.success(res);
|
||||
|
|
Loading…
Reference in New Issue