Browse Source

Use the inherited PageSize

pull/5399/head
Halil İbrahim Kalkan 6 years ago
parent
commit
65347809bc
  1. 2
      framework/src/Volo.Abp.BlazoriseUI/Volo/Abp/BlazoriseUI/BlazoriseCrudPageBase.cs
  2. 2
      modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor
  3. 2
      modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor.cs
  4. 2
      modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/UserManagement.razor

2
framework/src/Volo.Abp.BlazoriseUI/Volo/Abp/BlazoriseUI/BlazoriseCrudPageBase.cs

@ -67,7 +67,7 @@ namespace Volo.Abp.BlazoriseUI
[Inject] protected IUiMessageService UiMessageService { get; set; }
[Inject] protected IStringLocalizer<AbpUiResource> UiLocalizer { get; set; }
protected virtual int PageSize => LimitedResultRequestDto.DefaultMaxResultCount;
protected virtual int PageSize { get; } = LimitedResultRequestDto.DefaultMaxResultCount;
protected int CurrentPage;
protected string CurrentSorting;

2
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor

@ -26,7 +26,7 @@
ReadData="OnDataGridReadAsync"
TotalItems="TotalCount"
ShowPager="true"
PageSize="@LimitedResultRequestDto.DefaultMaxResultCount">
PageSize="PageSize">
<DataGridColumns>
<DataGridColumn Width="150px" TItem="IdentityRoleDto" Field="@nameof(IdentityRoleDto.Name)" Sortable="false" Caption="@L["Actions"].Value">
<DisplayTemplate>

2
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor.cs

@ -11,6 +11,6 @@ namespace Volo.Abp.Identity.Blazor.Pages.Identity
public RoleManagement()
{
ObjectMapperContext = typeof(AbpIdentityBlazorModule);
}
}
}
}

2
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/UserManagement.razor

@ -26,7 +26,7 @@
ReadData="OnDataGridReadAsync"
TotalItems="TotalCount"
ShowPager="true"
PageSize="@LimitedResultRequestDto.DefaultMaxResultCount">
PageSize="PageSize">
<DataGridColumns>
<DataGridColumn Width="150px" TItem="IdentityUserDto" Field="@nameof(IdentityUserDto.UserName)" Sortable="false" Caption="@L["Actions"].Value">
<DisplayTemplate>

Loading…
Cancel
Save