From 571ccce06777121f30db67e83692de771171fc36 Mon Sep 17 00:00:00 2001 From: Engincan VESKE Date: Wed, 7 Jul 2021 14:14:33 +0300 Subject: [PATCH] Update MongoIdentityUserRepository.cs --- .../Volo/Abp/Identity/MongoDB/MongoIdentityUserRepository.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoIdentityUserRepository.cs b/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoIdentityUserRepository.cs index df0fe15672..83181a6af8 100644 --- a/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoIdentityUserRepository.cs +++ b/modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoIdentityUserRepository.cs @@ -142,11 +142,6 @@ namespace Volo.Abp.Identity.MongoDB Guid? organizationUnitId = null, CancellationToken cancellationToken = default) { - if(roleId.HasValue || organizationUnitId.HasValue) - { - includeDetails = true; - } - return await (await GetMongoQueryableAsync(cancellationToken)) .WhereIf>( !filter.IsNullOrWhiteSpace(),