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>2018-11-24 05:38:24 +0300
committerGitHub <noreply@github.com>2018-11-24 05:38:24 +0300
commitb136e24f399be080ed6ac7f7c060323fccba5081 (patch)
tree85c2eb925d4532566262ee0ec6a6e6e2013921f3 /plugins/Goals
parent35e2bdf8c922b903bcbd3a8e711bd88770453c86 (diff)
Fix two issues causing new/returning visitor conversion rate to not appear (#13728)
* Fix two issues causing new/returning visitor conversion rate to not appear: when getting archive IDs must not ignore idarchives w/ different done flags, and aggregate dependent plugins for aggregate periods too. * Getting tests to run. * fix another test
Diffstat (limited to 'plugins/Goals')
-rw-r--r--plugins/Goals/Archiver.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Goals/Archiver.php b/plugins/Goals/Archiver.php
index f8cdf9ab89..00b53eca81 100644
--- a/plugins/Goals/Archiver.php
+++ b/plugins/Goals/Archiver.php
@@ -424,5 +424,8 @@ class Archiver extends \Piwik\Plugin\Archiver
$columnsAggregationOperation,
$columnsToRenameAfterAggregation = null,
$countRowsRecursive = array());
+
+ $this->getProcessor()->processDependentArchive('Goals', API::NEW_VISIT_SEGMENT);
+ $this->getProcessor()->processDependentArchive('Goals', VisitFrequencyAPI::RETURNING_VISITOR_SEGMENT);
}
}