Revision 53675
Added by Konstantina Galouni almost 6 years ago
reports.service.ts | ||
---|---|---|
15 | 15 |
var headers = new Headers(); |
16 | 16 |
headers.append('responseType', 'arraybuffer'); |
17 | 17 |
return this.http.get(url) |
18 |
.map(res => new Blob([res['_body']], { type: 'text/csv' })); |
|
18 |
.map(res => new Blob([res['_body']], { type: 'text/csv' }));
|
|
19 | 19 |
} |
20 | 20 |
getCSVResponse(url: string){ |
21 | 21 |
var headers = new Headers(); |
Also available in: Unified diff
searchDownload.component: CSV Download changed for search pages - link (<a> tag) added in document when service request succeeds.