|
|
@ -56,7 +56,7 @@ namespace Volo.Abp.TenantManagement.MongoDB |
|
|
u => |
|
|
u => |
|
|
u.Name.Contains(filter) |
|
|
u.Name.Contains(filter) |
|
|
) |
|
|
) |
|
|
.OrderBy(sorting ?? nameof(Tenant.Name)) |
|
|
.OrderBy(sorting.IsNullOrEmpty() ? nameof(Tenant.Name) : sorting) |
|
|
.As<IMongoQueryable<Tenant>>() |
|
|
.As<IMongoQueryable<Tenant>>() |
|
|
.PageBy<Tenant, IMongoQueryable<Tenant>>(skipCount, maxResultCount) |
|
|
.PageBy<Tenant, IMongoQueryable<Tenant>>(skipCount, maxResultCount) |
|
|
.ToListAsync(GetCancellationToken(cancellationToken)); |
|
|
.ToListAsync(GetCancellationToken(cancellationToken)); |
|
|
|