Browse Source

Merge pull request #7114 from kamalseisy/dev

fix totalCount in IdentityRole GetList in case of using filter
pull/7131/head
maliming 6 years ago
committed by GitHub
parent
commit
5e6eae0466
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityRoleAppService.cs

2
modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityRoleAppService.cs

@ -40,7 +40,7 @@ namespace Volo.Abp.Identity
public virtual async Task<PagedResultDto<IdentityRoleDto>> GetListAsync(GetIdentityRolesInput input)
{
var list = await RoleRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter);
var totalCount = await RoleRepository.GetCountAsync();
var totalCount = await RoleRepository.GetCountAsync(input.Filter);
return new PagedResultDto<IdentityRoleDto>(
totalCount,

Loading…
Cancel
Save