summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2022-10-25 10:08:02 +0300
committerGitHub <noreply@github.com>2022-10-25 10:08:02 +0300
commit52263275d79f4188df9b8a5a416e072473db03f4 (patch)
treeda92f0276a07837a6cc1301f09083083c45ce2ad /web
parentca09852a60826684fc175af410facd8c24745829 (diff)
allow single chart to be filtered in context queries (#13879)
Diffstat (limited to 'web')
-rw-r--r--web/api/web_api_v1.c2
1 files changed, 1 insertions, 1 deletions
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);