diff --git a/api/chalicelib/core/dashboards.py b/api/chalicelib/core/dashboards.py index 25dbdada3..bdd0518e0 100644 --- a/api/chalicelib/core/dashboards.py +++ b/api/chalicelib/core/dashboards.py @@ -38,6 +38,9 @@ def get_templates(project_id, user_id): for w in r["widgets"]: w["created_at"] = TimeUTC.datetime_to_timestamp(w["created_at"]) w["edited_at"] = TimeUTC.datetime_to_timestamp(w["edited_at"]) + for s in w["series"]: + s["filter"] = helper.old_search_payload_to_flat(s["filter"]) + return helper.list_to_camel_case(rows)