Project

General

Profile

« Previous | Next » 

Revision 53472

Fixing issue when serching with crossref DOI through claims form

View differences:

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