From 16b089e61bd9e0263638eb2f721ac8792bda31d8 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Tue, 15 Oct 2013 04:56:45 +0000 Subject: set properties on config, not on view itself --- plugins/ExampleUI/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ExampleUI') diff --git a/plugins/ExampleUI/Controller.php b/plugins/ExampleUI/Controller.php index d8194f2fc9..46d2627a3c 100644 --- a/plugins/ExampleUI/Controller.php +++ b/plugins/ExampleUI/Controller.php @@ -52,7 +52,7 @@ class Controller extends \Piwik\Plugin\Controller $view = $this->getLastUnitGraphAcrossPlugins($this->pluginName, __FUNCTION__, $columns, $selectableColumns = array('server1', 'server2'), 'My documentation', 'ExampleUI.getTemperaturesEvolution'); - $view->filter_sort_column = 'label'; + $view->requestConfig->filter_sort_column = 'label'; return $this->renderView($view, $fetch); } -- cgit v1.2.3