Sparklines do not show when dashboard is included from iframe #3915
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
When the dashboard is included within an iframe the little sparkline graphs do not show because the token_auth GET parameter is not included in the image link. I can fix this by adding the token_auth parameter to the getUrlSparkline call:
$view->urlSparklineNbVisits = $this->getUrlSparkline( 'getEvolutionGraph', array('token_auth' => Piwik::getCurrentUserTokenAuth(), 'columns' => $view->displayUniqueVisitors ? array('nb_visits', 'nb_uniq_visitors') : array('nb_visits')));
The text was updated successfully, but these errors were encountered: