From 0a95f1b299db29c4c775258c7be92c12b9ca20dc Mon Sep 17 00:00:00 2001 From: Gerard Date: Wed, 13 Mar 2019 16:08:04 +0100 Subject: [PATCH] #1229 general search of worker searckpanel now searchs users --- modules/worker/back/methods/worker/filter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/worker/back/methods/worker/filter.js b/modules/worker/back/methods/worker/filter.js index cd644730a..ff9068d56 100644 --- a/modules/worker/back/methods/worker/filter.js +++ b/modules/worker/back/methods/worker/filter.js @@ -80,7 +80,8 @@ module.exports = Self => { ? {'w.id': value} : {or: [ {'w.firstName': {like: `%${value}%`}}, - {'w.name': {like: `%${value}%`}} + {'w.name': {like: `%${value}%`}}, + {'u.name': {like: `%${value}%`}} ]}; case 'id': return {'w.id': value};