From 0d9511df7730940bc11991c5bdd32598066912d6 Mon Sep 17 00:00:00 2001 From: Hein Date: Mon, 12 Jan 2026 11:00:58 +0200 Subject: [PATCH] =?UTF-8?q?fix(adaptor):=20=F0=9F=90=9B=20Handle=20undefin?= =?UTF-8?q?ed=20filter=20IDs=20in=20search?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/adaptors/GlidlerAPIAdaptorForGoLangv2.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gridler/components/adaptors/GlidlerAPIAdaptorForGoLangv2.tsx b/src/Gridler/components/adaptors/GlidlerAPIAdaptorForGoLangv2.tsx index 53ea50d..672f96e 100644 --- a/src/Gridler/components/adaptors/GlidlerAPIAdaptorForGoLangv2.tsx +++ b/src/Gridler/components/adaptors/GlidlerAPIAdaptorForGoLangv2.tsx @@ -77,11 +77,12 @@ function _GlidlerAPIAdaptorForGoLangv2(props: GlidlerAPIAdaptorForG !f.disableFilter && !f.disableSearch && !f.virtual && + f.id && ((searchFields ?? []).length == 0 || searchFields?.includes(f.id)) ) ?.forEach((filter: any) => { ops.push({ - name: `${filter.id}`, + name: `${filter.id ?? ""}`, op: 'contains', type: 'searchor', value: searchStr,