|
|
@ -142,11 +142,6 @@ namespace Volo.Abp.Identity.MongoDB |
|
|
Guid? organizationUnitId = null, |
|
|
Guid? organizationUnitId = null, |
|
|
CancellationToken cancellationToken = default) |
|
|
CancellationToken cancellationToken = default) |
|
|
{ |
|
|
{ |
|
|
if(roleId.HasValue || organizationUnitId.HasValue) |
|
|
|
|
|
{ |
|
|
|
|
|
includeDetails = true; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return await (await GetMongoQueryableAsync(cancellationToken)) |
|
|
return await (await GetMongoQueryableAsync(cancellationToken)) |
|
|
.WhereIf<IdentityUser, IMongoQueryable<IdentityUser>>( |
|
|
.WhereIf<IdentityUser, IMongoQueryable<IdentityUser>>( |
|
|
!filter.IsNullOrWhiteSpace(), |
|
|
!filter.IsNullOrWhiteSpace(), |
|
|
|