diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-10-15 08:56:45 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-10-15 08:56:45 +0400 |
commit | 16b089e61bd9e0263638eb2f721ac8792bda31d8 (patch) | |
tree | 2b82e894774b7bd85df7fc770cbf95b99cf3c4fd /plugins/ExampleUI | |
parent | 531ade12c5bc82d1f3f58517b87e3b57eda3d7b6 (diff) |
set properties on config, not on view itself
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r-- | plugins/ExampleUI/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |