diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-10-25 10:08:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 10:08:02 +0300 |
commit | 52263275d79f4188df9b8a5a416e072473db03f4 (patch) | |
tree | da92f0276a07837a6cc1301f09083083c45ce2ad | |
parent | ca09852a60826684fc175af410facd8c24745829 (diff) |
allow single chart to be filtered in context queries (#13879)
-rw-r--r-- | web/api/web_api_v1.c | 2 |
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); |