From 52263275d79f4188df9b8a5a416e072473db03f4 Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Tue, 25 Oct 2022 10:08:02 +0300 Subject: allow single chart to be filtered in context queries (#13879) --- web/api/web_api_v1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c index dd5d4777a5..ff8368b2fc 100644 --- a/web/api/web_api_v1.c +++ b/web/api/web_api_v1.c @@ -723,7 +723,7 @@ inline int web_client_api_request_v1_data(RRDHOST *host, struct web_client *w, c goto cleanup; } - if(chart) { + if(chart && !context) { // check if this is a specific chart st = rrdset_find(host, chart); if (!st) st = rrdset_find_byname(host, chart); -- cgit v1.2.3