From 6c31eee07cd7bf19e22483a5799bcc89213eb54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20B=C3=B6ttcher?= <c.boettcher@fz-juelich.de> Date: Wed, 28 Sep 2022 12:58:19 +0200 Subject: [PATCH] use value instaed of key of array --- frontend/js/apicalls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/apicalls.js b/frontend/js/apicalls.js index 602c1e6..01c9051 100644 --- a/frontend/js/apicalls.js +++ b/frontend/js/apicalls.js @@ -267,7 +267,7 @@ function listDatasets(datatype, filterName = null, filterUrl = null, filterKeys } if (filterKeys.length > 0) { for (key in filterKeys) { - fullUrl = fullUrl + "has_key=" + key + "&"; + fullUrl = fullUrl + "has_key=" + filterKeys[key] + "&"; } } console.log("Sending GET request to " + fullUrl + " for listing datasets."); -- GitLab