allow single chart to be filtered in context queries (#13879)
Costa Tsaousis committed
Oct 25, 2022 at 10:08 UTC
52263275d79f4188df9b8a5a416e072473db03f4
1 file changed
+1
-1
web/api/web_api_v1.c
+1
-1
@@ -723,7 +723,7 @@ inline int web_client_api_request_v1_data(RRDHOST *host, struct web_client *w, c
723
goto cleanup;
724
}
725
726
- if(chart) {
726
+ if(chart && !context) {
727
// check if this is a specific chart
728
st = rrdset_find(host, chart);
729
if (!st) st = rrdset_find_byname(host, chart);