You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($multipleWebsitesRequested// We don't delete the 0 visits row, if "Enhanced" mode is on.
&& !$enhanced
) {
$dataTable->filter(
'ColumnCallbackDeleteRow',
array( self::NB_VISITS_METRIC, function ($value) { return$value == 0; } )
);
}
This should be only executed when the visits column was actually requested
The text was updated successfully, but these errors were encountered:
tsteur
added
the
Bug
For errors / faults / flaws / inconsistencies etc.
label
Mar 9, 2017
eg see it has pageviews https://demo.piwik.org/index.php?module=API&method=MultiSites.getAll&period=day&date=yesterday&format=JSON&token_auth=anonymous
doesn't work
https://demo.piwik.org/index.php?module=API&method=MultiSites.getAll&period=day&date=yesterday&format=JSON&token_auth=anonymous&showColumns=nb_pageviews
does work for visits
https://demo.piwik.org/index.php?module=API&method=MultiSites.getAll&period=day&date=yesterday&format=JSON&token_auth=anonymous&showColumns=nb_visits
It works when adding
&enhanced=1
because ofThis should be only executed when the visits column was actually requested
The text was updated successfully, but these errors were encountered: