diff --git a/src/app/pages/repository/metrics/metrics-usagestats-report-results.component.ts b/src/app/pages/repository/metrics/metrics-usagestats-report-results.component.ts index 0238a4da5..c16587213 100755 --- a/src/app/pages/repository/metrics/metrics-usagestats-report-results.component.ts +++ b/src/app/pages/repository/metrics/metrics-usagestats-report-results.component.ts @@ -58,11 +58,11 @@ export class MetricsUsagestatsReportResultsComponent implements OnInit { this.params.append('DatasetIdentifier', qparams['datasetIdentifier']); this.params.append('ItemDataType', qparams['itemIdentifier']); this.params.append('Granularity', qparams['granularity']); - this.params.append('MetricType', qparams['metricTypes']); - // this.params.append('MetricType', qparams['totalItemRequests']); - // this.params.append('MetricType', qparams['totalItemInvestigations']); - // this.params.append('MetricType', qparams['uniqueItemRequests']); - // this.params.append('MetricType', qparams['uniqueItemInvestigations']); + // this.params.append('MetricType', qparams['metricTypes']); + this.params.append('MetricType', qparams['totalItemRequests']); + this.params.append('MetricType', qparams['totalItemInvestigations']); + this.params.append('MetricType', qparams['uniqueItemRequests']); + this.params.append('MetricType', qparams['uniqueItemInvestigations']); }); this.chosenReport = this.params.get('Report'); diff --git a/src/app/pages/repository/metrics/metrics-usagestats-report.component.ts b/src/app/pages/repository/metrics/metrics-usagestats-report.component.ts index bb6f26891..060f23446 100755 --- a/src/app/pages/repository/metrics/metrics-usagestats-report.component.ts +++ b/src/app/pages/repository/metrics/metrics-usagestats-report.component.ts @@ -207,11 +207,11 @@ export class MetricsUsagestatsReportComponent implements OnInit { itemIdentifier: this.itemIdentifier, datasetIdentifier: this.datasetIdentifier, granularity: this.granularity, - metricTypes: metricTypes, - // totalItemRequests: this.totalItemRequests, - // totalItemInvestigations: this.totalItemInvestigations, - // uniqueItemRequests: this.uniqueItemRequests, - // uniqueItemInvestigations: this.uniqueItemInvestigations + // metricTypes: metricTypes, + totalItemRequests: this.totalItemRequests, + totalItemInvestigations: this.totalItemInvestigations, + uniqueItemRequests: this.uniqueItemRequests, + uniqueItemInvestigations: this.uniqueItemInvestigations } });