Skip to content

Commit

Permalink
refs #4007 sparklines can't handle columns parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Jun 15, 2013
1 parent 6a75116 commit 16fb8c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/VisitsSummary/Controller.php
Expand Up @@ -20,6 +20,8 @@ public function index()
$view = Piwik_View::factory('index');
$this->setPeriodVariablesView($view);
$view->graphEvolutionVisitsSummary = $this->getEvolutionGraph(true, array('nb_visits'));
// do not use columns paramter for sparklines
unset($_GET['columns']);
$this->setSparklinesAndNumbers($view);
echo $view->render();
}
Expand Down

0 comments on commit 16fb8c9

Please sign in to comment.