Project

General

Profile

« Previous | Next » 

Revision 55729

[Trunk|Library]

Data source Landing Page:
add component showPublisher with sherpa/Romeo link
parse journal information from datasource

View differences:

dataProvider.service.ts
27 27
                                 res['oaf:datasource']['openairecompatibility'],
28 28
                                 res['oaf:datasource']['collectedfrom'],
29 29
                                 res['oaf:datasource']['accessinfopackage'],
30
                                 res['oaf:datasource']['rels']['rel']
30
                                 res['oaf:datasource']['rels']['rel'],
31
                                 res['oaf:datasource']['journal'] //6
31 32
                     ])
32 33
                     .map(res => this.parseDataProviderInfo(res));
33 34

  
......
213 214
                }
214 215
            }
215 216
        }
217
        if(data[6] != null) {
218
            this.dataProviderInfo.journal = {"journal": "", "issn": "", "lissn": "", "eissn": ""};
219
            this.dataProviderInfo.journal['journal'] = data[6].content;
220
            this.dataProviderInfo.journal['issn'] = data[6]['issn'];
221
            this.dataProviderInfo.journal['lissn'] = data[6]['lissn'];
222
            this.dataProviderInfo.journal['eissn'] = data[6]['eissn'];
216 223

  
224
        }else{
225
            this.dataProviderInfo.journal = null;
226
            this.dataProviderInfo.journal = {"journal": "", "issn": "", "lissn": "", "eissn": ""};
227
        }
228

  
217 229
        return this.dataProviderInfo;
218 230
    }
219 231
}

Also available in: Unified diff