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
While testing the new contents #4996 feature on the Piwik Mobile app I noticed I was not able to pick the interaction_rate column which is a processed metric.
In my case $reportMetadata['processedMetrics'] is an array like array('interaction_rate' => 'Interaction Rate') but it won't be added to the columns array as it is not a default processed metric.
Feel free to move it to 2.7.0
While testing the new contents #4996 feature on the Piwik Mobile app I noticed I was not able to pick the
interaction_rate
column which is a processed metric.Investigating a bit I noticed that we only add the default processed metrics to the columns array and I am not sure if this is on purpose or not? See https://github.com/piwik/piwik/blob/2.6.0-b1/plugins/API/ProcessedReport.php#L505
In my case
$reportMetadata['processedMetrics']
is an array likearray('interaction_rate' => 'Interaction Rate')
but it won't be added to thecolumns
array as it is not a default processed metric.So
API.getProcessedReport
returns the following:but should be maybe (unless it is like this on purpose)
Same for
metricsGoal
further down. But allmetrics
are added to the columns.So is it on purpose or not? Looks like a bug to me
The text was updated successfully, but these errors were encountered: