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]> {
|
): Promise<[DbUser[], number]> {
|
||||||
const query = this.createQueryBuilder('user')
|
const query = this.createQueryBuilder('user')
|
||||||
.select(select)
|
.select(select)
|
||||||
.leftJoinAndSelect('user.emailContact', 'emailContact')
|
|
||||||
.withDeleted()
|
.withDeleted()
|
||||||
|
.leftJoinAndSelect('user.emailContact', 'emailContact')
|
||||||
.where(
|
.where(
|
||||||
new Brackets((qb) => {
|
new Brackets((qb) => {
|
||||||
qb.where(
|
qb.where(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user