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

Duplicate months in Statistics Screren #271

Open
ChoosenMEME opened this issue Sep 23, 2024 · 2 comments
Open

Duplicate months in Statistics Screren #271

ChoosenMEME opened this issue Sep 23, 2024 · 2 comments

Comments

@ChoosenMEME
Copy link

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}

@Freika
Copy link
Owner

Freika commented Sep 23, 2024

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: 'YOUR@EMAIL.COM')
stats = user.stats
stats.destroy_all

Then hit the "Update stats" button on the Stats page.

@ChoosenMEME
Copy link
Author

Thanks, this fixed it for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants