From 9eb8603bfdf3dca476f344c912ce5421fb430b3b Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 13 Oct 2023 17:39:26 +0700 Subject: [PATCH] =?UTF-8?q?sort=20=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B8=97=E0=B8=B3=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99report=E0=B9=83=E0=B8=9A=E0=B8=AA=E0=B8=A1=E0=B8=B1?= =?UTF-8?q?=E0=B8=84=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Reports/CandidateReportRepository.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs b/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs index 2bb82547..b032579c 100644 --- a/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs +++ b/BMA.EHR.Application/Repositories/Reports/CandidateReportRepository.cs @@ -169,6 +169,7 @@ namespace BMA.EHR.Application.Repositories.Reports var items = await _dbExamContext.Set().AsQueryable() .Where(x => x.Candidate != null) .Where(x => x.Candidate.Id == id) + .OrderBy(x => x.CreatedAt) .Select(p => new { Position = p.Position,