Export links should only contain the displayed information #7134
Labels
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
I used the export links in the Piwik UI today and was a bit surprised about the output. I was expecting to see only the displayed information in the output (what is displayed in the table). Instead the export link is only a plain API call which can contain lots of random information.
See eg this export link of Insights: http://demo.piwik.org/index.php?module=API&method=Insights.getInsights&format=XML&idSite=3&period=day&date=yesterday&flat=0&token_auth=anonymous&filter_limit=500&&reportUniqueId=Actions_getPageUrls&minImpactPercent=0.1&minGrowthPercent=1&comparedToXPeriods=1&orderBy=absolute&filterBy=&limitIncreaser=50&limitDecreaser=50&expanded=1
Instead I would expect to see only those 3 columns:
The same applies to all other reports/visualizations as in when I view the plain data table I expect it contains the same columns that are currently displayed with the same column names etc. If the visualisation is a pie, a cloud or evolution it would probably only have 2 columns.
This would make exports more useful in my opinion as one can for example directly open the CSV in Excel / OpenOffice and have useful names etc. Basically like the RSS export where
translateColumnNames
is applied etc.Some people might be interested in the current output though. We do have the API page for this but maybe there could be even another icon or more entries in export for this
The text was updated successfully, but these errors were encountered: