Ticket #772 (closed Bug: invalid)
Subtable arrays may vary in column ordering
| Reported by: | vipsoft | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Piwik 0.6.2 |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: | no |
Description (last modified by vipsoft) (diff)
Did something change between php 5.2.0 and 5.2.6? I can't replicate this problem on piwik.org/demo (5.2.0).
The order of columns between subtables may not be consistent with each other. (Depends on the date range and days.) This is a problem for Csv and Html output where order is critical.
See screenshot where I queried VisitsSummary.get with a date range.
A possible fix is to use ksort() which preseves key-to-value pairings.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

