no message
Some checks failed
release-dev / release-dev (push) Failing after 10s

This commit is contained in:
Bright 2024-12-18 18:42:11 +07:00
parent e409277518
commit f3f2d25280

View file

@ -131,7 +131,7 @@ namespace BMA.EHR.DisciplineSuspend.Service.Controllers
profileType = x.profileType,
CreatedAt = x.CreatedAt,
})
.OrderByDescending(x => x.profileType == "OFFICER")
.OrderByDescending(x => x.profileType)
.ThenByDescending(x => x.CreatedAt)
.ThenByDescending(x => x.CitizenId)
.Skip((page - 1) * pageSize)