dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Duplicate months in Statistics Screren

Open ChoosenMEME opened this issue 1 year ago • 2 comments

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:

  1. Import Semantic location History
  2. wait for calculations to finish
  3. open stats
  4. select year
  5. didnt do anything more

Expected behavior each month should only be shown once The total value for the year is correct

Screenshots {9A93E7A5-195A-40AF-81DF-F6816E34EFFF}

ChoosenMEME avatar Sep 23 '24 11:09 ChoosenMEME

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.

Freika avatar Sep 23 '24 20:09 Freika

Thanks, this fixed it for me

ChoosenMEME avatar Sep 24 '24 09:09 ChoosenMEME

I think this should have been fixed in one of recent releases

Freika avatar May 21 '25 21:05 Freika