dawarich
dawarich copied to clipboard
Duplicate months in Statistics Screren
Describe the bug in the Stats screen there are multiple instance of some months
Version 0.14.3
To Reproduce Steps to reproduce the behavior:
- Import Semantic location History
- wait for calculations to finish
- open stats
- select year
- didnt do anything more
Expected behavior each month should only be shown once The total value for the year is correct
Screenshots
I'll look into it, meanwhile, to fix your issue you can enter the console, remove all stats and recalculate them.
user = User.find_by(email: '[email protected]')
stats = user.stats
stats.destroy_all
Then hit the "Update stats" button on the Stats page.
Thanks, this fixed it for me
I think this should have been fixed in one of recent releases