VisitTime.getVisitInformationPerServerTime: Empty hours are not returned
|Reported by:||Herzult||Owned by:||matt|
|Priority:||normal||Milestone:||1.4 - Piwik 1.4|
When you request the VisitTime.getVisitInformationPerServerTime for a date having no visit, it doesn't return 0 but an empty array.
I think the API should return the 0 value for every past date when there is no visit. The empty response should be reserved for future dates (that doesn't exist). So the response is predictable.
Change History (3)
comment:2 Changed 3 years ago by matt (mattab)
- Resolution set to fixed
- Status changed from new to closed