Skip to content
Extraits de code Groupes Projets
Valider 42f9f52f rédigé par Thomas Steur's avatar Thomas Steur Validation de sgiehl
Parcourir les fichiers

this should fix current time and time frame is not visible in real time map...

this should fix current time and time frame is not visible in real time map when displayed on a page
parent ccaf2c6b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -155,7 +155,7 @@ class Controller extends \Piwik\Plugin\Controller ...@@ -155,7 +155,7 @@ class Controller extends \Piwik\Plugin\Controller
$token_auth = Piwik::getCurrentUserTokenAuth(); $token_auth = Piwik::getCurrentUserTokenAuth();
$view = new View('@UserCountryMap/realtimeMap'); $view = new View('@UserCountryMap/realtimeMap');
$view->mapIsStandaloneNotWidget = $standalone; $view->mapIsStandaloneNotWidget = !(bool) Common::getRequestVar('widget', $standalone, 'int');
$view->metrics = $this->getMetrics($idSite, 'range', self::REAL_TIME_WINDOW, $token_auth); $view->metrics = $this->getMetrics($idSite, 'range', self::REAL_TIME_WINDOW, $token_auth);
$view->defaultMetric = 'nb_visits'; $view->defaultMetric = 'nb_visits';
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter