5.7.0: Драфты учитываются в today_change статистики
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m21s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m21s
This commit is contained in:
@@ -2797,6 +2797,11 @@ func (a *App) getWeeklyStatsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
// Добавляем pending scores из драфтов к todayScores (они будут начислены сегодня в конце дня)
|
||||
for projectID, pendingScore := range draftPendingScores {
|
||||
todayScores[projectID] += pendingScore
|
||||
}
|
||||
|
||||
query := `
|
||||
SELECT
|
||||
p.id AS project_id,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "play-life-web",
|
||||
"version": "5.6.0",
|
||||
"version": "5.7.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Reference in New Issue
Block a user