Skip to content

Add CURRENT_MONTH constant and update SQL time clause for month duration 0 in LeaderboardHelper (#1206)#1217

Merged
CollinBeczak merged 1 commit intomainfrom
Add-CURRENT_MONTH-constant-and-update-SQL-time-clause-for-month-duration-0-in-LeaderboardHelper-(#1206)
Mar 18, 2026
Merged

Add CURRENT_MONTH constant and update SQL time clause for month duration 0 in LeaderboardHelper (#1206)#1217
CollinBeczak merged 1 commit intomainfrom
Add-CURRENT_MONTH-constant-and-update-SQL-time-clause-for-month-duration-0-in-LeaderboardHelper-(#1206)

Conversation

@CollinBeczak
Copy link
Contributor

@CollinBeczak CollinBeczak commented Mar 17, 2026

  • Introduced CURRENT_MONTH constant in SchedulerActor for better readability.
  • Updated SQL time clause in LeaderboardHelper to handle monthDuration of 0, allowing for filtering challenges created in the current month.

related: maproulette/maproulette3#2803

should resolve:
maproulette/maproulette3#2791
maproulette/maproulette3#2593

…ion 0 in LeaderboardHelper (#1206)

- Introduced CURRENT_MONTH constant in SchedulerActor for better readability.
- Updated SQL time clause in LeaderboardHelper to handle monthDuration of 0, allowing for filtering challenges created in the current month.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
90.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@CollinBeczak CollinBeczak merged commit 6204e0e into main Mar 18, 2026
8 of 9 checks passed
@CollinBeczak CollinBeczak deleted the Add-CURRENT_MONTH-constant-and-update-SQL-time-clause-for-month-duration-0-in-LeaderboardHelper-(#1206) branch March 18, 2026 15:05
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

Successfully merging this pull request may close these issues.

1 participant