diff --git a/src/main/webapp/app/entities/stock/stock.component.ts b/src/main/webapp/app/entities/stock/stock.component.ts index 57b7136..822403d 100644 --- a/src/main/webapp/app/entities/stock/stock.component.ts +++ b/src/main/webapp/app/entities/stock/stock.component.ts @@ -73,7 +73,8 @@ export default defineComponent({ const processedParams = showFilter.value ? Object.entries(filterParams.value).reduce((acc, [key, filterParam]) => { if (filterParam.value !== null && filterParam.value !== '') { - acc[key] = encodeURIComponent(JSON.stringify({ op: filterParam.op, value: filterParam.value })); + acc[`${key}[op]`] = filterParam.op; + acc[`${key}[value]`] = filterParam.value; } return acc; }, {})