Revision 60170
Added by Argiro Kokogiannaki over 3 years ago
searchDownload.component.ts | ||
---|---|---|
38 | 38 |
@Input() totalResults: number = 0; |
39 | 39 |
@Input() csvParams: string; |
40 | 40 |
@Input() type: string; |
41 |
@Input() piwikSiteId = null; |
|
41 | 42 |
@ViewChild(AlertModal) alertApplyAll: AlertModal; |
42 | 43 |
downloadURLAPI: string; |
43 | 44 |
|
... | ... | |
110 | 111 |
//window.location.href = window.URL.createObjectURL(data); |
111 | 112 |
|
112 | 113 |
if (this.isPiwikEnabled && (typeof document !== 'undefined')) { |
113 |
this.subscriptions.push(this._piwikService.trackDownload(this.properties, url).subscribe()); |
|
114 |
this.subscriptions.push(this._piwikService.trackDownload(this.properties, url, this.piwikSiteId).subscribe());
|
|
114 | 115 |
} |
115 | 116 |
}, |
116 | 117 |
error => { |
Also available in: Unified diff
helper service: for monitor routes /_alias_/search_route split to remove alias
input: add check aboutlabel for checkbox
SideBar: add uk-bav-parent for sub menus
Piwik:
- Search-download: get piwikId as input
- Search page: pass piwik id in search download component
- project landing - pass piwik id
Dashboard- Admin tools:
- remove Guards from modules
- add subscriptions array and unsubscribe them
- read properties directly from file
- update links to be relative