Skip to content
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Components/Table/Table.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ void SetEditTemplate()
private async ValueTask<ItemsProviderResult<TItem>> LoadItems(ItemsProviderRequest request)
{
StartIndex = _isFilterTrigger ? 0 : request.StartIndex;
_pageItems = TotalCount > 0 ? Math.Min(request.Count, TotalCount - request.StartIndex) : request.Count;
_pageItems = request.Count;
await QueryData();
return new ItemsProviderResult<TItem>(QueryItems, TotalCount);
}
Expand Down
Loading