From a5d7a4f706a4098281b1ccb3bca8717a57c1411d Mon Sep 17 00:00:00 2001 From: Ark2307 Date: Mon, 6 Jan 2025 20:34:49 +0530 Subject: [PATCH 1/2] Sending as a list of string --- .../src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx index 0eeded355f..9169a1076c 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx @@ -378,7 +378,7 @@ function IssuesPage() { let obj = { 'filterStatus': filterStatus, - 'filterCollectionsId': [filterCollectionsId.toString()], + 'filterCollectionsId': filterCollectionsId.forEach((x) => {return x.toString()}), 'filterSeverity': filterSeverity, filterSubCategory: filterSubCategory, startEpoch: [startTimestamp.toString()] From 3bcca9132c8d8e0fe5b0bfd7158844b78474c1e8 Mon Sep 17 00:00:00 2001 From: Ark2307 Date: Mon, 6 Jan 2025 20:45:27 +0530 Subject: [PATCH 2/2] Sending collections ids as list --- .../src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx index 9169a1076c..1b4d157ca9 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/issues/IssuesPage/IssuesPage.jsx @@ -376,9 +376,11 @@ function IssuesPage() { filterSubCategory = filterSubCategory.concat(categoryToSubCategories[issue]) }) + const collectionIdsArray = filterCollectionsId.map((x) => {return x.toString()}) + let obj = { 'filterStatus': filterStatus, - 'filterCollectionsId': filterCollectionsId.forEach((x) => {return x.toString()}), + 'filterCollectionsId': collectionIdsArray, 'filterSeverity': filterSeverity, filterSubCategory: filterSubCategory, startEpoch: [startTimestamp.toString()]