#1229 general search of worker searckpanel now searchs users
gitea/salix/master This commit looks good Details

This commit is contained in:
Gerard 2019-03-13 16:08:04 +01:00
parent fd4fe288a5
commit 0a95f1b299
1 changed files with 2 additions and 1 deletions

View File

@ -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};