Skip to content

Show Site Search reports in Scheduled email reports and Piwik Mobile #4869

@tsteur

Description

@tsteur

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.

Metadata

Metadata

Assignees

Labels

CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions