From 852513d7e5a83fb2d001c1b83994edaea4f822aa Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Thu, 3 Oct 2013 01:10:29 +0000 Subject: refs #3994 fix the evolution graph is sorted by value if only one metric is selected --- plugins/ExampleUI/Controller.php | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3