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-05-10 12:17:14 +0400
committermattab <matthieu.aubry@gmail.com>2013-05-10 12:17:14 +0400
commit9302709b4beccdd1d94b58e0791a8373b89d355e (patch)
treeaef61b043656468116ae7402580537bcd82980bf /plugins
parent47cda36e60359e8a3de01eaeb86b4edbac315532 (diff)
* fixing error/bug in Transition
* Multi-Row evolution + Limit selector "10/50/100/500" now works as expected
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/DataTableRowAction/MultiRowEvolution.php3
-rw-r--r--plugins/Transitions/API.php5
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/CoreHome/DataTableRowAction/MultiRowEvolution.php b/plugins/CoreHome/DataTableRowAction/MultiRowEvolution.php
index 4c4a964c2e..1e761a0aae 100644
--- a/plugins/CoreHome/DataTableRowAction/MultiRowEvolution.php
+++ b/plugins/CoreHome/DataTableRowAction/MultiRowEvolution.php
@@ -74,12 +74,13 @@ class Piwik_CoreHome_DataTableRowAction_MultiRowEvolution
/**
* Generic method to get an evolution graph or a sparkline for the row evolution popover.
* Do as much as possible from outside the controller.
+ *
* @return Piwik_ViewDataTable
*/
public function getRowEvolutionGraph()
{
$view = parent::getRowEvolutionGraph();
- $view->setCustomParameter(self::IS_MULTI_EVOLUTION_PARAM, true);
+ $view->setCustomParameter(self::IS_MULTI_EVOLUTION_PARAM, 1); // set in JS
return $view;
}
}
diff --git a/plugins/Transitions/API.php b/plugins/Transitions/API.php
index 4457d71046..6712045238 100644
--- a/plugins/Transitions/API.php
+++ b/plugins/Transitions/API.php
@@ -139,7 +139,7 @@ class Piwik_Transitions_API
if ($id < 0) {
// an example where this is needed is urls containing < or >
$actionName = $originalActionName;
- $id = $actionsPlugin->getIdActionFromSegment($actionName, 'idaction_url', Piwik_SegmentExpression::MATCH_EQUALs, 'pageUrl');
+ $id = $actionsPlugin->getIdActionFromSegment($actionName, 'idaction_url', Piwik_SegmentExpression::MATCH_EQUAL, 'pageUrl');
}
return $id;
@@ -289,9 +289,6 @@ class Piwik_Transitions_API
}
}
- /**
- * @ignore
- */
public function getTranslations()
{
$controller = new Piwik_Transitions_Controller();