diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 7be37ca1..55dd0b46 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -4928,7 +4928,7 @@ export class ProfileController extends Controller { requestBody.position != null && requestBody.position !== "" ? "positions.positionName LIKE :positionName" : "1=1", - { positionName: `${requestBody.position}` }, + { positionName: `%${requestBody.position}%` }, ) .getMany(); diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 785a1fa3..18ea3b28 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -2069,7 +2069,7 @@ export class ProfileEmployeeController extends Controller { requestBody.position != null && requestBody.position !== "" ? "positions.positionName LIKE :positionName" : "1=1", - { positionName: `${requestBody.position}` }, + { positionName: `%${requestBody.position}%` }, ) .getMany();