Revision 52236
Added by Argiro Kokogiannaki almost 6 years ago
claimResultSearchForm.component.ts | ||
---|---|---|
127 | 127 |
this.reloadOrcid = true; |
128 | 128 |
} |
129 | 129 |
if((this.searchSource == "all" || this.searchSource == "openaire") && this.reloadOpenaire){ |
130 |
this.openairePubs = []; |
|
131 |
this.openaireData = []; |
|
132 |
this.openaireSoftware = []; |
|
130 | 133 |
this.searchOpenairePubs(this.keyword, this.size, 1); |
131 | 134 |
this.searchOpenaireData(this.keyword,this.size,1); |
132 | 135 |
this.searchOpenaireSoftware(this.keyword,this.size,1); |
133 | 136 |
this.reloadOpenaire = false; |
134 | 137 |
} |
135 | 138 |
if((this.searchSource == "all" || this.searchSource == "crossref")&&this.reloadCrossref){ |
139 |
this.crossrefResults = []; |
|
136 | 140 |
this.getCrossrefResults(this.keyword, this.size,1); |
137 | 141 |
this.reloadCrossref = false; |
138 | 142 |
} |
139 | 143 |
if((this.searchSource == "all" || this.searchSource == "datacite")&& this.reloadDatacite){ |
144 |
this.dataciteResults =[]; |
|
140 | 145 |
this.searchDatacite(this.keyword,this.size,1); |
141 | 146 |
this.reloadDatacite = false; |
142 | 147 |
} |
143 | 148 |
if((this.searchSource == "all" || this.searchSource == "orcid")&& this.reloadOrcid){ |
149 |
this.orcidResultsToShow=[]; |
|
144 | 150 |
this.searchOrcid(this.keyword); |
145 | 151 |
this.reloadOrcid = false; |
146 | 152 |
} |
... | ... | |
303 | 309 |
this.orcidResultsNum = null; |
304 | 310 |
|
305 | 311 |
//passing structures in order to fill them in service |
306 |
this._searchOrcidService.searchOrcidAuthor(term, this.authorIds, |
|
312 |
this._searchOrcidService.searchOrcidAuthor(term.replace(/\s/g, ""), this.authorIds,
|
|
307 | 313 |
this.authors, this.properties, addId).subscribe( |
308 | 314 |
data => { |
309 | 315 |
if(data != null && data == true && addId) { |
... | ... | |
468 | 474 |
} |
469 | 475 |
private openairePubsPageChange($event) { |
470 | 476 |
this.openairePubsPage=$event.value; |
477 |
this.openairePubs = []; |
|
471 | 478 |
this.searchOpenairePubs(this.keyword,this.size,this.openairePubsPage); |
472 | 479 |
} |
473 | 480 |
datacitePageChange($event) { |
Also available in: Unified diff
fix the query for searching software dois in claims| clear result before a new search is done