From 036aa5b8171de13d71e3d2f478b62b1ee105e445 Mon Sep 17 00:00:00 2001 From: jlestel Date: Fri, 17 Nov 2023 09:11:17 +0100 Subject: [PATCH] fix: Dashboard links (#3443) Co-authored-by: Julien --- grafana/dashboards/charges.json | 6 +++--- grafana/dashboards/locations.json | 2 +- grafana/dashboards/trip.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/grafana/dashboards/charges.json b/grafana/dashboards/charges.json index eacb87b855..d0529bd622 100644 --- a/grafana/dashboards/charges.json +++ b/grafana/dashboards/charges.json @@ -106,7 +106,7 @@ { "targetBlank": false, "title": "View charge details", - "url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric}" + "url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}" } ] }, @@ -302,7 +302,7 @@ { "targetBlank": false, "title": "Set Cost", - "url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric}" + "url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric:raw}" } ] }, @@ -389,7 +389,7 @@ { "targetBlank": true, "title": "Create or edit geo-fence", - "url": "[[base_url:raw]]/geo-fences/${__data.fields.path}" + "url": "[[base_url:raw]]/geo-fences/${__data.fields.path:raw}" } ] }, diff --git a/grafana/dashboards/locations.json b/grafana/dashboards/locations.json index 441042f312..2fc792bb36 100644 --- a/grafana/dashboards/locations.json +++ b/grafana/dashboards/locations.json @@ -969,7 +969,7 @@ { "targetBlank": true, "title": "", - "url": "[[base_url:raw]]/geo-fences/${__data.fields.id.numeric}/edit" + "url": "[[base_url:raw]]/geo-fences/${__data.fields.id.numeric:raw}/edit" } ] }, diff --git a/grafana/dashboards/trip.json b/grafana/dashboards/trip.json index 3f75aa1004..8d04db9791 100644 --- a/grafana/dashboards/trip.json +++ b/grafana/dashboards/trip.json @@ -1637,7 +1637,7 @@ { "targetBlank": false, "title": "View charge details", - "url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric}" + "url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}" } ] }, @@ -1782,7 +1782,7 @@ { "targetBlank": false, "title": "Set Cost", - "url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric}" + "url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric:raw}" } ] },