We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c956055 commit f11129dCopy full SHA for f11129d
src/JsonApiDotNetCore/Services/EntityResourceService.cs
@@ -165,7 +165,7 @@ private async Task<IEnumerable<T>> ApplyPageQueryAsync(IQueryable<T> entities)
165
{
166
var pageManager = _jsonApiContext.PageManager;
167
if (!pageManager.IsPaginated)
168
- return entities;
+ return await _entities.ToListAsync(entities);
169
170
_logger?.LogInformation($"Applying paging query. Fetching page {pageManager.CurrentPage} with {pageManager.PageSize} entities");
171
0 commit comments