From d2ad7c427b949f540911983d77916c3859327daa Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Tue, 24 Sep 2024 11:51:49 +0300 Subject: [PATCH] Fixed warning --- src/BUTR.CrashReport.Server/Controllers/ReportController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BUTR.CrashReport.Server/Controllers/ReportController.cs b/src/BUTR.CrashReport.Server/Controllers/ReportController.cs index 74c2acb..9ea7827 100644 --- a/src/BUTR.CrashReport.Server/Controllers/ReportController.cs +++ b/src/BUTR.CrashReport.Server/Controllers/ReportController.cs @@ -220,7 +220,7 @@ public IActionResult Sitemap(int idx) { var sitemap = new Urlset { - Url = _dbContext.IdEntities.Skip(idx * 50000).Take(50000).Select(x => new { x.FileId, x.Created }).Select(x => new Url + Url = _dbContext.IdEntities.OrderBy(x => x.Created).Skip(idx * 50000).Take(50000).Select(x => new { x.FileId, x.Created }).Select(x => new Url { Location = $"{_options.BaseUri}/{x.FileId}", TimeStamp = x.Created,