Browse Source

Merge pull request #350 from colinin/4.4

fix(logging): increase the default value for the sorting field
pull/364/head
yx lin 4 years ago
committed by GitHub
parent
commit
ef8560b5e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      aspnet-core/modules/logging/LINGYUN.Abp.Logging.Serilog.Elasticsearch/LINGYUN/Abp/AuditLogging/Serilog/Elasticsearch/SerilogElasticsearchLoggingManager.cs

1
aspnet-core/modules/logging/LINGYUN.Abp.Logging.Serilog.Elasticsearch/LINGYUN/Abp/AuditLogging/Serilog/Elasticsearch/SerilogElasticsearchLoggingManager.cs

@ -150,6 +150,7 @@ namespace LINGYUN.Abp.Logging.Serilog.Elasticsearch
var sortOrder = !sorting.IsNullOrWhiteSpace() && sorting.EndsWith("desc", StringComparison.InvariantCultureIgnoreCase)
? SortOrder.Descending : SortOrder.Ascending;
sorting = sorting ?? "timestamp";
var querys = BuildQueryDescriptor(
startTime,

Loading…
Cancel
Save