feat: search customer now cover customer name
This commit is contained in:
parent
dfd927eeb4
commit
ddc5a9a037
1 changed files with 1 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ export class CustomerController extends Controller {
|
|||
OR: query
|
||||
? [
|
||||
{ branch: { some: { namePrefix: { contains: query } } } },
|
||||
{ branch: { some: { customerName: { contains: query } } } },
|
||||
{ branch: { some: { firstName: { contains: query } } } },
|
||||
{ branch: { some: { firstNameEN: { contains: query } } } },
|
||||
{ branch: { some: { lastName: { contains: query } } } },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue