From eb5cbd399c591bc501a49cd7158b8c5ffe6489f8 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 19 Aug 2026 17:41:23 +0800 Subject: [PATCH] fix: Fix the error in the "search_after" retrieval. --- .../AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs b/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs index d3195188e..f7e7b3f42 100644 --- a/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs +++ b/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs @@ -519,7 +519,7 @@ public class ElasticsearchAuditLogManager : IAuditLogManager, ITransientDependen })) .SourceIncludes(x => x.Id) .SearchAfter(firstHit.Sort.ToList()) - .Size(1), + .Size(remaining), cancellationToken); if (!secondResponse.IsSuccess() || secondResponse.Hits == null || !secondResponse.Hits.Any())