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

Range period should use existing archives of week/month/year periods if possible #12003

Closed
tsteur opened this issue Sep 5, 2017 · 0 comments · Fixed by #12004
Closed

Range period should use existing archives of week/month/year periods if possible #12003

tsteur opened this issue Sep 5, 2017 · 0 comments · Fixed by #12004
Labels
c: Performance For when we could improve the performance / speed of Matomo.

Comments

@tsteur
Copy link
Member

tsteur commented Sep 5, 2017

Eg in my case I had a weekly report archived, then selected the same date range but got zero results because archiving was disabled.

I am thinking if we removed the period=? in https://github.com/piwik/piwik/blob/3.1.0-rc1/core/DataAccess/ArchiveSelector.php#L181 then we would use an already existing archive when the selected date range matches a week, month, or year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant