Added package & dropdown replaced search regexp with like
This commit is contained in:
parent
0fdb4a4785
commit
11b7c133a4
|
@ -196,7 +196,7 @@ export default class DropDown extends Component {
|
|||
}
|
||||
|
||||
let where = {};
|
||||
where[this.showField] = {regexp: search};
|
||||
where[this.showField] = {like: `%${search}%`};
|
||||
return where;
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue