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:
authordiosmosis <diosmosis@users.noreply.github.com>2019-08-07 00:16:13 +0300
committerGitHub <noreply@github.com>2019-08-07 00:16:13 +0300
commit8bc18861652ddcd64f8022318f0b8201ac7e9ba4 (patch)
tree73e65f15b3467cf8a3bd048bfba432c356ed85ba /plugins/Events/Archiver.php
parentbe4540fd4c15118bf773683d6c7848b22af903a1 (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.php1
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');