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.
If we set
$c->{irstats2}->{default_range} like '1y', so we put a definite value, the download statistic with daterange = "all" (_ALL_)use the cache tableirstats2_cache_*although this summarizes the data of the "default_range" and not the entire statistics.The problem, i think, is in
Stat::Dataon "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.