Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/API/DataTablePostProcessor.php')
-rw-r--r--core/API/DataTablePostProcessor.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/API/DataTablePostProcessor.php b/core/API/DataTablePostProcessor.php
index e62387f451..59be19285e 100644
--- a/core/API/DataTablePostProcessor.php
+++ b/core/API/DataTablePostProcessor.php
@@ -100,14 +100,14 @@ class DataTablePostProcessor
$dataTable = $this->applyLabelFilter($dataTable);
$dataTable = $this->applyMetricsFormatting($dataTable);
- $dataTable = $this->convertSegmentValueToSegmentFilter($dataTable);
+ $dataTable = $this->convertSegmentValueToSegment($dataTable);
return $dataTable;
}
- public function convertSegmentValueToSegmentFilter(DataTableInterface $dataTable)
+ public function convertSegmentValueToSegment(DataTableInterface $dataTable)
{
- $dataTable->filter('AddSegmentFilterBySegmentValue', array($this->report));
+ $dataTable->filter('AddSegmentBySegmentValue', array($this->report));
$dataTable->filter('ColumnCallbackDeleteMetadata', array('segmentValue'));
return $dataTable;