diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index ef4e1225..c114d30c 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -2346,7 +2346,7 @@ export class ProfileController extends Controller { ) .andWhere( isRetire != undefined && isRetire != null - ? isRetire == true + ? isRetire == false ? `profile.dateLeave IS null` : `profile.dateLeave IS NOT NULL` : "1=1",