# Users Complaining About Losing Points

**URL:** <https://meta.discourse.org/t/users-complaining-about-losing-points/344927>\
**Category:** Product Support\
**Tags:** gamification\
**Created:** [December 21, 2024, 4:10pm UTC](https://meta.discourse.org/t/users-complaining-about-losing-points/344927 "2024-12-21T16:10:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![selase](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/selase/32/270909_2.png) [@selase](https://meta.discourse.org/u/selase)\
**Post date:** [December 30, 2024, 7:04pm UTC](https://meta.discourse.org/t/users-complaining-about-losing-points/344927/2 "2024-12-30T19:04:05Z")

</div>

Leaving the default period as `All Time` should work just fine. `All Time` here is intended to be within the bounds of the leaderboard’s from/to dates, if set.

However, there appears to be a bug where filtering the leaderboard by certain periods produces incorrect results. The `score_period_condition` implementation doesn’t properly account for the leaderboard’s From/To dates and conflicts with the main leaderboard bounds check.

> <https://github.com/discourse/discourse-gamification/blob/03ea20da05572acdd2481e61bbbdd7bfe30706d3/lib/discourse_gamification/leaderboard_cached_view.rb#L267-L285>

> <https://github.com/discourse/discourse-gamification/blob/03ea20da05572acdd2481e61bbbdd7bfe30706d3/lib/discourse_gamification/leaderboard_cached_view.rb#L150-L178>

I’m looking into this, a fix should be ready soon.

---

_[View the full topic](https://meta.discourse.org/t/users-complaining-about-losing-points/344927)._
