You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: grafana/dashboards/charges.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1422,13 +1422,13 @@
1422
1422
"type": "grafana-postgresql-datasource",
1423
1423
"uid": "TeslaMate"
1424
1424
},
1425
-
"definition": "-- The \"Include All option\" built into Grafana is not initializing correctly if no value is returned by the SQL query anymore\r\n-- Create the option via SQL as a temporary workaround until fixed (https://github.com/grafana/grafana/issues/119793)\r\n\r\nwith geofences_incl_all_option as (\r\n\r\n select 'All' as __text, -1 as __value, '_all' as name\r\n\r\n union all\r\n\r\nSELECT name AS __text, id AS __value, name from geofences\r\n\r\n)\r\n\r\nSELECT __text, __value from geofences_incl_all_option order by name asc",
1426
-
"includeAll": false,
1425
+
"definition": "SELECT name AS __text, id AS __value FROM geofences ORDER BY name COLLATE \"C\" ASC;",
1426
+
"includeAll": true,
1427
1427
"label": "Geofence",
1428
1428
"multi": true,
1429
1429
"name": "geofence",
1430
1430
"options": [],
1431
-
"query": "-- The \"Include All option\" built into Grafana is not initializing correctly if no value is returned by the SQL query anymore\r\n-- Create the option via SQL as a temporary workaround until fixed (https://github.com/grafana/grafana/issues/119793)\r\n\r\nwith geofences_incl_all_option as (\r\n\r\n select 'All' as __text, -1 as __value, '_all' as name\r\n\r\n union all\r\n\r\nSELECT name AS __text, id AS __value, name from geofences\r\n\r\n)\r\n\r\nSELECT __text, __value from geofences_incl_all_option order by name asc",
1431
+
"query": "SELECT name AS __text, id AS __value FROM geofences ORDER BY name COLLATE \"C\" ASC;",
Copy file name to clipboardExpand all lines: grafana/dashboards/drives.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1444,14 +1444,14 @@
1444
1444
"type": "grafana-postgresql-datasource",
1445
1445
"uid": "TeslaMate"
1446
1446
},
1447
-
"definition": "-- The \"Include All option\" built into Grafana is not initializing correctly if no value is returned by the SQL query anymore\r\n-- Create the option via SQL as a temporary workaround until fixed (https://github.com/grafana/grafana/issues/119793)\r\n\r\nwith geofences_incl_all_option as (\r\n\r\n select 'All' as __text, -1 as __value, '_all' as name\r\n\r\n union all\r\n\r\nSELECT name AS __text, id AS __value, name from geofences\r\n\r\n)\r\n\r\nSELECT __text, __value from geofences_incl_all_option order by name asc",
1447
+
"definition": "SELECT name AS __text, id AS __value FROM geofences ORDER BY name COLLATE \"C\" ASC;",
1448
1448
"description": "Start or Destination Geofence",
1449
-
"includeAll": false,
1449
+
"includeAll": true,
1450
1450
"label": "Geofence",
1451
1451
"multi": true,
1452
1452
"name": "geofence",
1453
1453
"options": [],
1454
-
"query": "-- The \"Include All option\" built into Grafana is not initializing correctly if no value is returned by the SQL query anymore\r\n-- Create the option via SQL as a temporary workaround until fixed (https://github.com/grafana/grafana/issues/119793)\r\n\r\nwith geofences_incl_all_option as (\r\n\r\n select 'All' as __text, -1 as __value, '_all' as name\r\n\r\n union all\r\n\r\nSELECT name AS __text, id AS __value, name from geofences\r\n\r\n)\r\n\r\nSELECT __text, __value from geofences_incl_all_option order by name asc",
1454
+
"query": "SELECT name AS __text, id AS __value FROM geofences ORDER BY name COLLATE \"C\" ASC;",
0 commit comments