Show Site Search reports in Scheduled email reports and Piwik Mobile #4869
Labels
Critical
Indicates the severity of an issue is very critical and the issue has a very high priority.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
A user reported the Site Search report is not available in the mobile app and I noticed the report is not included in API.getReportMetadata.
The reason for this is a check for the idSite parameter: https://github.com/piwik/piwik/blob/master/plugins/Actions/Actions.php#L503
This does not work:
http://demo.piwik.org/index.php?module=API&method=API.getReportMetadata&idSites=3&period=day&date=yesterday&format=JSON&token_auth=anonymous
This does work:
http://demo.piwik.org/index.php?module=API&method=API.getReportMetadata&idSites=3&period=day&date=yesterday&format=JSON&token_auth=anonymous&idSite=3
It should work without the idSite parameter as well.
The text was updated successfully, but these errors were encountered: