diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-10-28 10:26:36 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-28 09:26:36 +0300 |
| commit | 091cc0a23b4e59fb0413156dfd59d8f984f00c2d (patch) | |
| tree | fc578190b09c5ac60df7ceec43ba0c4f0a8cafa8 /backend/handlers | |
| parent | fix/frontend: timeline to continue until today (#292) (diff) | |
| download | lphub-091cc0a23b4e59fb0413156dfd59d8f984f00c2d.tar.gz lphub-091cc0a23b4e59fb0413156dfd59d8f984f00c2d.tar.bz2 lphub-091cc0a23b4e59fb0413156dfd59d8f984f00c2d.zip | |
fix/backend: have timeline start at 2013 for mp (#293)
Diffstat (limited to 'backend/handlers')
| -rw-r--r-- | backend/handlers/stats.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/handlers/stats.go b/backend/handlers/stats.go index 8fe98f9..06748c3 100644 --- a/backend/handlers/stats.go +++ b/backend/handlers/stats.go | |||
| @@ -136,7 +136,7 @@ func Timeline(c *gin.Context) { | |||
| 136 | WITH date_series AS ( | 136 | WITH date_series AS ( |
| 137 | SELECT DISTINCT record_date as date | 137 | SELECT DISTINCT record_date as date |
| 138 | FROM map_history | 138 | FROM map_history |
| 139 | WHERE category_id = 1 AND map_id > 60 AND record_date >= '2011-12-21' | 139 | WHERE category_id = 1 AND map_id > 60 AND record_date >= '2013-01-31' |
| 140 | ORDER BY record_date | 140 | ORDER BY record_date |
| 141 | ), | 141 | ), |
| 142 | map_best_at_date AS ( | 142 | map_best_at_date AS ( |