diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-08-07 00:16:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 00:16:13 +0300 |
commit | 8bc18861652ddcd64f8022318f0b8201ac7e9ba4 (patch) | |
tree | 73e65f15b3467cf8a3bd048bfba432c356ed85ba /plugins/Events/Archiver.php | |
parent | be4540fd4c15118bf773683d6c7848b22af903a1 (diff) |
Handle ranking query others row properly in contents & events archiver. (#14622)
* Add more types of actions to ManyVisitsWithMockLocationProvider fixture.
* fix test change
* update expected test files
* Handle ranking query others row properly in contents & events archiver.
* Use custom ranking query specific others label and handle by default in DataArray::asDatatable().
* Updating expected test files.
* Use strict compare since label can be 0 apparently.
* Update expecred test files.
Diffstat (limited to 'plugins/Events/Archiver.php')
-rw-r--r-- | plugins/Events/Archiver.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/Events/Archiver.php b/plugins/Events/Archiver.php index bfa4813e36..b87ff8543a 100644 --- a/plugins/Events/Archiver.php +++ b/plugins/Events/Archiver.php @@ -180,7 +180,6 @@ class Archiver extends \Piwik\Plugin\Archiver $rankingQuery = null; if ($rankingQueryLimit > 0) { $rankingQuery = new RankingQuery($rankingQueryLimit); - $rankingQuery->setOthersLabel(DataTable::LABEL_SUMMARY_ROW); $rankingQuery->addLabelColumn(array('eventCategory', 'eventAction', 'eventName')); $rankingQuery->addColumn(array(Metrics::INDEX_NB_UNIQ_VISITORS)); $rankingQuery->addColumn(array(Metrics::INDEX_EVENT_NB_HITS, Metrics::INDEX_NB_VISITS, Metrics::INDEX_EVENT_NB_HITS_WITH_VALUE), 'sum'); |