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:
authormattab <matthieu.aubry@gmail.com>2013-06-05 08:10:49 +0400
committermattab <matthieu.aubry@gmail.com>2013-06-05 08:10:49 +0400
commit4cad655824f9d5bf2b667ec522f78f499cd59bf0 (patch)
tree5d7b88e6c4a34f6950f94e32545ba8aa66c2143c /plugins/CustomVariables
parente48c41ceebc371d6b2926fb6f1d2d4e2a0823d82 (diff)
Adding setting for limiting Custom Variables report in the config file, separate from the referrer config.
This is especially useful to fix an ecommerce bug where "Visits" don't display properly for all products, since we used to truncate after 50 rows. Also sets by default to 1000 to ensure ecommerce tracking mostly work. Refs #3569
Diffstat (limited to 'plugins/CustomVariables')
-rw-r--r--plugins/CustomVariables/Archiving.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/CustomVariables/Archiving.php b/plugins/CustomVariables/Archiving.php
index e9ca547707..166d8c9124 100644
--- a/plugins/CustomVariables/Archiving.php
+++ b/plugins/CustomVariables/Archiving.php
@@ -21,9 +21,8 @@ class Piwik_CustomVariables_Archiving
function __construct()
{
- //TODO FIX
- $this->maximumRowsInDataTableLevelZero = Piwik_Config::getInstance()->General['datatable_archiving_maximum_rows_referers'];
- $this->maximumRowsInSubDataTable = Piwik_Config::getInstance()->General['datatable_archiving_maximum_rows_subtable_referers'];
+ $this->maximumRowsInDataTableLevelZero = Piwik_Config::getInstance()->General['datatable_archiving_maximum_rows_custom_variables'];
+ $this->maximumRowsInSubDataTable = Piwik_Config::getInstance()->General['datatable_archiving_maximum_rows_subtable_custom_variables'];
}
public function archiveDay(Piwik_ArchiveProcessing_Day $archiveProcessing)
@@ -32,7 +31,6 @@ class Piwik_CustomVariables_Archiving
$table = $archiveProcessing->getDataTableWithSubtablesFromArraysIndexedByLabel($this->metricsByKeyAndValue, $this->metricsByKey);
-
$blob = $table->getSerialized(
$this->maximumRowsInDataTableLevelZero, $this->maximumRowsInSubDataTable,
$columnToSort = Piwik_Archive::INDEX_NB_VISITS