Browse Source

Update MongoIdentityUserRepository.cs

pull/9523/head
Engincan VESKE 5 years ago
parent
commit
571ccce067
  1. 5
      modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoIdentityUserRepository.cs

5
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<IdentityUser, IMongoQueryable<IdentityUser>>(
!filter.IsNullOrWhiteSpace(),

Loading…
Cancel
Save