diff --git a/client/claim/src/development/index.html b/client/claim/src/development/index.html index 11483ab72..1c2af1e6a 100644 --- a/client/claim/src/development/index.html +++ b/client/claim/src/development/index.html @@ -21,12 +21,6 @@ data="claimResponsibles" order="description"> - - {{firstName}} {{name}} diff --git a/services/loopback/common/methods/client/activeWorkersWithRole.js b/services/loopback/common/methods/client/activeWorkersWithRole.js index bb0231bd6..c2f429952 100644 --- a/services/loopback/common/methods/client/activeWorkersWithRole.js +++ b/services/loopback/common/methods/client/activeWorkersWithRole.js @@ -37,7 +37,11 @@ module.exports = Self => { case 'role': return {'r.name': value}; case 'firstName': - return {or: [{'w.firstName': {like: `%${value}%`}}, {'w.name': {like: `%${value}%`}}]}; + return {or: [ + {'w.firstName': {like: `%${value}%`}}, + {'w.name': {like: `%${value}%`}}, + {'u.name': {like: `%${value}%`}} + ]}; case 'id': return {'w.id': value}; }