fix #1309
This commit is contained in:
parent
9e466a2422
commit
4e3faab969
2 changed files with 2 additions and 2 deletions
|
|
@ -217,7 +217,7 @@ namespace BMA.EHR.Application.Repositories.Leaves.LeaveRequests
|
|||
var rawData = _dbContext.Set<LeaveRequest>().AsNoTracking()
|
||||
.Include(x => x.Type)
|
||||
.Where(x => x.LeaveStatus != "DRAFT")
|
||||
.OrderByDescending(x => x.CreatedAt.Date)
|
||||
.OrderByDescending(x => x.CreatedAt)
|
||||
.AsQueryable();
|
||||
|
||||
if (year != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue