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,