Revision 53472
Added by Argiro Kokogiannaki about 6 years ago
modules/uoa-services-library/trunk/ng-openaire-library/src/app/claims/claim-utils/claimResultSearchForm.component.ts | ||
---|---|---|
166 | 166 |
private getCrossrefResults (term: string, size : number, page : number) { |
167 | 167 |
this.crossrefStatus = this.errorCodes.LOADING; |
168 | 168 |
if( this.DOIs.length > 0 ){ |
169 |
this._searchCrossrefService.searchCrossrefByDOIs(this.DOIs, this.properties.searchCrossrefAPIURL).subscribe( |
|
169 |
this._searchCrossrefService.searchCrossrefByDOIs(this.DOIs, this.properties.searchCrossrefAPIURL,true).subscribe(
|
|
170 | 170 |
data => { |
171 | 171 |
if(data != null) { |
172 |
this.crossrefResults = data.items;
|
|
172 |
this.crossrefResults = data; |
|
173 | 173 |
this.crossrefPage=page; |
174 | 174 |
this.crossrefResultsNum = data['total-results']; |
175 | 175 |
if(data.items == 0){ |
Also available in: Unified diff
Fixing issue when serching with crossref DOI through claims form