From 67c62766d46f7364c0c7af4c5ac66c99abcc888f Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Tue, 21 Jan 2025 13:33:27 +0100 Subject: [PATCH] fix(filters): fix dynamic filters (#6642) --- ui/actions/findings/findings.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ui/actions/findings/findings.ts b/ui/actions/findings/findings.ts index d9621c88d3f..311425f5819 100644 --- a/ui/actions/findings/findings.ts +++ b/ui/actions/findings/findings.ts @@ -28,13 +28,7 @@ export const getFindings = async ({ if (sort) url.searchParams.append("sort", sort); Object.entries(filters).forEach(([key, value]) => { - const excludedFilters = ["region__in", "service__in", "resource_type__in"]; - if ( - key !== "filter[search]" && - !excludedFilters.some((filter) => key.includes(filter)) - ) { - url.searchParams.append(key, String(value)); - } + url.searchParams.append(key, String(value)); }); try {