no message

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

View file

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