changes for metrics query params
This commit is contained in:
parent
aeb81dde96
commit
e8f69c38bb
|
@ -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');
|
||||
|
|
|
@ -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
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue