fix related to #509

This commit is contained in:
Umed Khudoiberdiev 2017-06-30 16:51:58 +05:00
parent 78b5478d8d
commit 33e34c4d26

View File

@ -269,7 +269,7 @@ export class SubjectBuilder<Entity extends ObjectLiteral> {
} else {
entities = await this.connection
.getRepository<ObjectLiteral>(subjectGroup.target)
.createQueryBuilder("operateSubject", this.queryRunner)
.createQueryBuilder("subject", this.queryRunner)
.whereInIds(allIds)
.loadAllRelationIds()
.getMany();