From 1aa21c16b52c440decb207c30bd8ffe0294fce34 Mon Sep 17 00:00:00 2001 From: vicent Date: Thu, 5 Jan 2023 11:42:21 +0100 Subject: [PATCH] refactor: borrado join a worker --- modules/claim/back/methods/claim/filter.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/claim/back/methods/claim/filter.js b/modules/claim/back/methods/claim/filter.js index 965e48cca..d653229e5 100644 --- a/modules/claim/back/methods/claim/filter.js +++ b/modules/claim/back/methods/claim/filter.js @@ -170,8 +170,7 @@ module.exports = Self => { cl.created FROM claim cl LEFT JOIN client c ON c.id = cl.clientFk - LEFT JOIN worker w ON w.id = cl.workerFk - LEFT JOIN account.user u ON u.id = w.userFk + LEFT JOIN account.user u ON u.id = cl.workerFk LEFT JOIN claimState cs ON cs.id = cl.claimStateFk` );