Merge branch 'test' into dev
This commit is contained in:
commit
e33df7098d
|
@ -28,8 +28,8 @@ module.exports = Self => {
|
||||||
|
|
||||||
if (where) {
|
if (where) {
|
||||||
if (where.firstName) {
|
if (where.firstName) {
|
||||||
sqlWhere = `AND (em.firstName REGEXP ? OR em.name REGEXP ?)`;
|
sqlWhere = `AND (em.firstName LIKE ? OR em.name LIKE ?)`;
|
||||||
let search = where.firstName.regexp;
|
let search = where.firstName.like;
|
||||||
params.push(search);
|
params.push(search);
|
||||||
params.push(search);
|
params.push(search);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue