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

Cache table (i.e. irstats2_cache_downloads) problems if "default_range" is specified (i.e. 1y) #71

Open
eniocarboni opened this issue Mar 9, 2016 · 0 comments
Labels

Comments

@eniocarboni
Copy link
Contributor

If we set $c->{irstats2}->{default_range} like '1y', so we put a definite value, the download statistic with date range = "all" (_ALL_) use the cache table irstats2_cache_* although this summarizes the data of the "default_range" and not the entire statistics.

The problem, i think, is in Stat::Data on "sub select" on condition in line 133.
To mitigate the problem I commented lines from 133 to 139.
In this way no longer use the cache table but would be useful to find an alternative solution.

@jiadiyao jiadiyao added the bug label Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants