Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referrers Overview, distinct metrics sparklines are always set to one #7034

Closed
diosmosis opened this issue Jan 15, 2015 · 0 comments
Closed
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@diosmosis
Copy link
Member

In Referrers' Archiver, line 207 distinct metrics are computed as count($this->getDataArray(...)), however, $this->getDataArray returns a DataArray instance, so the count always returns 1.

Refs #6972

@diosmosis diosmosis self-assigned this Jan 15, 2015
@diosmosis diosmosis added this to the Piwik 2.11.0 milestone Jan 15, 2015
@mattab mattab changed the title referrers distinct metrics are incorrectly archived (code calls count() on a DataArray instance) Referrers Overview, distinct metrics sparklines are always set to one Feb 16, 2015
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants