diff --git a/src/controllers/03-customer-controller.ts b/src/controllers/03-customer-controller.ts index 0bfdbc4..2c37638 100644 --- a/src/controllers/03-customer-controller.ts +++ b/src/controllers/03-customer-controller.ts @@ -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 } } } },