diff --git a/packages/client-vue/src/core/entity-manager/module.ts b/packages/client-vue/src/core/entity-manager/module.ts index 2c532bebd..cd2a8cf35 100644 --- a/packages/client-vue/src/core/entity-manager/module.ts +++ b/packages/client-vue/src/core/entity-manager/module.ts @@ -318,9 +318,13 @@ export function createEntityManager< return; } - if (ctx.props.query || ctx.props.queryFilters) { + if ( + ctx.props.query || + ctx.props.queryFields || + ctx.props.queryFilters + ) { query = { - ...(ctx.props.query ? { filters: ctx.props.query } : {}), + ...(ctx.props.query ? ctx.props.query : {}), ...(ctx.props.queryFields ? { fields: ctx.props.queryFields } : {}), ...(ctx.props.queryFilters ? { filters: ctx.props.queryFilters } : {}), } as any;