fix: include filter_conditions in goal type list query
Bug 3 Fix: filter_conditions was missing from SELECT statement in list_goal_type_definitions(), preventing edit form from loading existing filter JSON. - Added filter_conditions to line 1087 - Now edit form correctly populates filter textarea
This commit is contained in:
1 parent
9ab36145e5
commit
ce4cd7daf1
1 file changed
+1
-1
@@ -1084,7 +1084,7 @@ def list_goal_type_definitions(session: dict = Depends(require_auth)):
|
||||
cur.execute("""
|
||||
SELECT id, type_key, label_de, label_en, unit, icon, category,
|
||||
source_table, source_column, aggregation_method,
|
||||
calculation_formula, description, is_system, is_active,
|
||||
calculation_formula, filter_conditions, description, is_system, is_active,
|
||||
created_at, updated_at
|
||||
FROM goal_type_definitions
|
||||
WHERE is_active = true
|
||||
|
||||
Reference in new issue
Block a user