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:
authorThomas Steur <thomas.steur@gmail.com>2013-10-03 05:10:29 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-03 05:10:29 +0400
commit852513d7e5a83fb2d001c1b83994edaea4f822aa (patch)
tree68a0e31cb313a58478a85000e6bf8290e030a236 /plugins/ExampleUI
parentd1276ad4c8609ae7dc67f5609c232f87c0e6b364 (diff)
refs #3994 fix the evolution graph is sorted by value if only one metric is selected
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r--plugins/ExampleUI/Controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ExampleUI/Controller.php b/plugins/ExampleUI/Controller.php
index e90f6e6b49..f247441067 100644
--- a/plugins/ExampleUI/Controller.php
+++ b/plugins/ExampleUI/Controller.php
@@ -66,6 +66,7 @@ class Controller extends \Piwik\Controller
$view = $this->getLastUnitGraphAcrossPlugins($this->pluginName, __FUNCTION__, $columns,
$selectableColumns = array('server1', 'server2'), 'My documentation', 'ExampleUI.getTemperaturesEvolution');
+ $view->filter_sort_column = 'label';
return $this->renderView($view, $fetch);
}