diff --git a/client/core/src/components/drop-down/drop-down.js b/client/core/src/components/drop-down/drop-down.js index bfe372b7d..c8b6c2a52 100755 --- a/client/core/src/components/drop-down/drop-down.js +++ b/client/core/src/components/drop-down/drop-down.js @@ -196,7 +196,7 @@ export default class DropDown extends Component { } let where = {}; - where[this.showField] = {regexp: search}; + where[this.showField] = {like: `%${search}%`}; return where; } diff --git a/services/mailer/package.json b/services/mailer/package.json index 408ce541d..17bd23567 100644 --- a/services/mailer/package.json +++ b/services/mailer/package.json @@ -12,7 +12,8 @@ "nodemailer": "^4.0.1", "path": "^0.12.7", "request": "^2.83.0", - "require-yaml": "0.0.1" + "require-yaml": "0.0.1", + "fs-extra": "^5.0.0" }, "repository": { "type": "git", diff --git a/services/print/package.json b/services/print/package.json index d63a8fe34..9d763c113 100644 --- a/services/print/package.json +++ b/services/print/package.json @@ -10,7 +10,9 @@ "inline-css": "^2.2.2", "mustache": "^2.3.0", "mysql": "^2.13.0", - "path": "^0.12.7" + "path": "^0.12.7", + "require-yaml": "0.0.1", + "fs-extra": "^5.0.0" }, "repository": { "type": "git",