From 72b779f5c0409781b95f2722c59952e48648dd79 Mon Sep 17 00:00:00 2001 From: vicent Date: Tue, 13 Jun 2023 10:26:12 +0200 Subject: [PATCH] refs #5528 fix: editar compras (seleccionar todas), cuando aplicas un filtro --- modules/entry/back/methods/entry/editLatestBuys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/entry/back/methods/entry/editLatestBuys.js b/modules/entry/back/methods/entry/editLatestBuys.js index 2642d4f4d..0da2b1625 100644 --- a/modules/entry/back/methods/entry/editLatestBuys.js +++ b/modules/entry/back/methods/entry/editLatestBuys.js @@ -75,7 +75,7 @@ module.exports = Self => { value[field] = newValue; if (filter) { - ctx.args.filter = {where: filter, limit: null}; + ctx.args = {where: filter, limit: null}; lines = await models.Buy.latestBuysFilter(ctx, null, myOptions); }