Goals -System refactored - Platzhaltersystem enhanced (als draft) #53
|
|
@ -542,7 +542,8 @@ def get_active_goals(profile_id: str) -> List[Dict]:
|
|||
cur = get_cursor(conn)
|
||||
cur.execute("""
|
||||
SELECT id, goal_type, name, target_value, target_date,
|
||||
current_value, start_value, progress_pct, status, is_primary
|
||||
current_value, start_value, start_date, progress_pct,
|
||||
status, is_primary, created_at
|
||||
FROM goals
|
||||
WHERE profile_id = %s
|
||||
AND status IN ('active', 'in_progress')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user