changes for metrics query params

This commit is contained in:
jbalasis 2023-09-27 10:16:53 +03:00
parent aeb81dde96
commit e8f69c38bb
2 changed files with 10 additions and 10 deletions

View File

@ -58,11 +58,11 @@ export class MetricsUsagestatsReportResultsComponent implements OnInit {
this.params.append('DatasetIdentifier', qparams['datasetIdentifier']); this.params.append('DatasetIdentifier', qparams['datasetIdentifier']);
this.params.append('ItemDataType', qparams['itemIdentifier']); this.params.append('ItemDataType', qparams['itemIdentifier']);
this.params.append('Granularity', qparams['granularity']); this.params.append('Granularity', qparams['granularity']);
this.params.append('MetricType', qparams['metricTypes']); // this.params.append('MetricType', qparams['metricTypes']);
// this.params.append('MetricType', qparams['totalItemRequests']); this.params.append('MetricType', qparams['totalItemRequests']);
// this.params.append('MetricType', qparams['totalItemInvestigations']); this.params.append('MetricType', qparams['totalItemInvestigations']);
// this.params.append('MetricType', qparams['uniqueItemRequests']); this.params.append('MetricType', qparams['uniqueItemRequests']);
// this.params.append('MetricType', qparams['uniqueItemInvestigations']); this.params.append('MetricType', qparams['uniqueItemInvestigations']);
}); });
this.chosenReport = this.params.get('Report'); this.chosenReport = this.params.get('Report');

View File

@ -207,11 +207,11 @@ export class MetricsUsagestatsReportComponent implements OnInit {
itemIdentifier: this.itemIdentifier, itemIdentifier: this.itemIdentifier,
datasetIdentifier: this.datasetIdentifier, datasetIdentifier: this.datasetIdentifier,
granularity: this.granularity, granularity: this.granularity,
metricTypes: metricTypes, // metricTypes: metricTypes,
// totalItemRequests: this.totalItemRequests, totalItemRequests: this.totalItemRequests,
// totalItemInvestigations: this.totalItemInvestigations, totalItemInvestigations: this.totalItemInvestigations,
// uniqueItemRequests: this.uniqueItemRequests, uniqueItemRequests: this.uniqueItemRequests,
// uniqueItemInvestigations: this.uniqueItemInvestigations uniqueItemInvestigations: this.uniqueItemInvestigations
} }
}); });