Browse Source

allow single chart to be filtered in context queries (#13879)

Costa Tsaousis 2 years ago
parent
commit
52263275d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/api/web_api_v1.c

+ 1 - 1
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);