mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix: Include Deleted Email Contacts in User Search
This commit is contained in:
parent
f0c39703f1
commit
fcd9e1776c
@ -28,8 +28,8 @@ export class UserRepository extends Repository<DbUser> {
|
||||
): Promise<[DbUser[], number]> {
|
||||
const query = this.createQueryBuilder('user')
|
||||
.select(select)
|
||||
.leftJoinAndSelect('user.emailContact', 'emailContact')
|
||||
.withDeleted()
|
||||
.leftJoinAndSelect('user.emailContact', 'emailContact')
|
||||
.where(
|
||||
new Brackets((qb) => {
|
||||
qb.where(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user