From 0a1da3719745a3dc34e005885edceed30f436df6 Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 27 Mar 2026 17:08:30 +0100 Subject: [PATCH] fix: Remove g.direction from SELECT - column does not exist --- backend/routers/goals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routers/goals.py b/backend/routers/goals.py index 233be1f..be2af28 100644 --- a/backend/routers/goals.py +++ b/backend/routers/goals.py @@ -669,7 +669,7 @@ def get_goals_grouped(session: dict = Depends(require_auth)): g.id, g.goal_type, g.target_value, g.current_value, g.start_value, g.unit, g.target_date, g.status, g.is_primary, g.category, g.priority, g.name, g.description, g.progress_pct, g.on_track, g.projection_date, - g.created_at, g.updated_at, g.direction, + g.created_at, g.updated_at, gt.label_de, gt.icon, gt.category as type_category, gt.source_table, gt.source_column FROM goals g