Opened 20 months ago

Closed 15 months ago

Last modified 15 months ago

#3365 closed Bug (fixed)

For Actions reports, add the &flat=0 parameter to the API call even if the view is not flattened

Reported by: E Owned by: capedfuzz
Priority: normal Milestone: 1.11 - Piwik 1.11
Component: Core Keywords: reports, export report, email report
Cc: Sensitive: no

Description

When I export the data to Excel, for example the Pages report, I only see the top levels of my site. In Piwik I can press the + sign to drill down and see all pages. But when I export the report only the top levels are included. I would like to see all pages in the report.
Example: the page: mydomain/mysite/level1 has several subpages: mydomain/mysite/level1/subject1, mydomain/mysite/level1/subject2, and mydomain/mysite/level1/subject3. When I export the report as Excel or as email, I only get the statistics for mydomain/mysite/level1.
Before the release of 1.8.3 I could see all pages but not anymore. Can you please fix this?

Attachments (1)

PiwikReports.bmp (205.3 KB) - added by E 20 months ago.
Pic shows what the report used to look like with subpages and what it looks like now.

Download all attachments as: .zip

Change History (7)

Changed 20 months ago by E

Pic shows what the report used to look like with subpages and what it looks like now.

comment:1 Changed 20 months ago by matt (mattab)

  • Milestone set to 1.8.4 - Piwik 1.8.4

IN the URL you use to export the reports, try to add the parameter &flat=1 - it should then show the reports as you expect.

We should add the &flat parameter to the API call even if it's disabled, to show users they can change it. Maybe it could it be the first parameter.

comment:2 Changed 20 months ago by matt (mattab)

  • Owner set to capedfuzz
  • Summary changed from Something has changed in the reports- Bug in 1.8.3? to For Actions reports, add the &flat=0 parameter to the API call even if the view is not flattened

For Actions reports, enforce that &flat=0 parameter to the API call even if the view is not flattened

Last edited 18 months ago by matt (previous) (diff)

comment:3 Changed 15 months ago by capedfuzz (diosmosis)

  • Resolution set to fixed
  • Status changed from new to closed

In fcaf7e783d4c4dfb9c2af14f3bcf9db899f88d48:

Fixes #3365, add 'flat=0' query param to export links for actions reports.

comment:4 Changed 15 months ago by capedfuzz (diosmosis)

matt, I made sure flat=0 will be displayed, but I think this is a very quick fix for a (relatively) bigger UX issue.

comment:5 Changed 15 months ago by E

I just realised I haven't thanked you. Thank you for your tip! &flat=1 works!

comment:6 Changed 15 months ago by matt (mattab)

looking good!

Note: See TracTickets for help on using tickets.