diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index e907d801..57d618c6 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -2993,7 +2993,7 @@ export class ProfileController extends Controller { qb.orWhere(condition).orWhere(conditionNow); }), ) - .andWhere("viewDirectorActing.isProbation = :isProbation", { isProbation: false }) + .andWhere("viewDirector.isProbation = :isProbation", { isProbation: false }) .andWhere( new Brackets((qb) => { qb.orWhere(