Goalsystem V1 #50

Merged
Lars merged 51 commits from develop into main 2026-03-27 17:40:51 +01:00
Showing only changes of commit 9e95fd8416 - Show all commits

View File

@ -541,7 +541,7 @@ def get_goals_grouped(session: dict = Depends(require_auth)):
gt.label_de, gt.icon, gt.category as type_category
FROM goals g
LEFT JOIN goal_type_definitions gt ON g.goal_type = gt.type_key
WHERE g.profile_id = %s AND g.is_active = true
WHERE g.profile_id = %s
ORDER BY g.category, g.priority ASC, g.created_at DESC
""", (pid,))