diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-01-29 06:48:23 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-02-13 08:23:10 +0300 |
commit | 8ef47c8e4a3fb0094b4b0c19df8ed18c58cf7a6f (patch) | |
tree | 162315afc7f5a5bc0c8840eff30251a76b665b6f /plugins/Events | |
parent | ec8dc0f150d71b752188dac3d01d29950ae6f869 (diff) |
refs #4633 open segmented visitor log with one click on a row
Diffstat (limited to 'plugins/Events')
-rw-r--r-- | plugins/Events/API.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Events/API.php b/plugins/Events/API.php index d81144f855..345deb4f96 100644 --- a/plugins/Events/API.php +++ b/plugins/Events/API.php @@ -154,6 +154,13 @@ class API extends \Piwik\Plugin\API $this->checkSecondaryDimension($name, $secondaryDimension); $recordName = $this->getRecordNameForAction($name, $secondaryDimension); $dataTable = Archive::getDataTableFromArchive($recordName, $idSite, $period, $date, $segment, $expanded, $idSubtable); + $dataTable->filter('AddSegmentValue', array(function ($label) { + if ($label === Archiver::EVENT_NAME_NOT_SET) { + return false; + } + + return $label; + })); $this->filterDataTable($dataTable); return $dataTable; } |