Corrected spelling mistake in service project get list API
This commit is contained in:
parent
3928eafef9
commit
bb01e645fe
@ -114,11 +114,11 @@ namespace Marco.Pms.Services.Service
|
|||||||
// Fetch projects for the requested page with ordering by newest
|
// Fetch projects for the requested page with ordering by newest
|
||||||
var serviceProjects = await serviceProjectQuery
|
var serviceProjects = await serviceProjectQuery
|
||||||
.OrderBy(p =>
|
.OrderBy(p =>
|
||||||
p.ProjectStatusId == ActiveProjectStatusId ? 0 :
|
p.StatusId == ActiveProjectStatusId ? 0 :
|
||||||
p.ProjectStatusId == InProgressProjectStatusId ? 1 :
|
p.StatusId == InProgressProjectStatusId ? 1 :
|
||||||
p.ProjectStatusId == OnHoldProjectStatusId ? 2 :
|
p.StatusId == OnHoldProjectStatusId ? 2 :
|
||||||
p.ProjectStatusId == InActiveProjectStatusId ? 3 :
|
p.StatusId == InActiveProjectStatusId ? 3 :
|
||||||
p.ProjectStatusId == CompletedProjectStatusId ? 4 : 5)
|
p.StatusId == CompletedProjectStatusId ? 4 : 5)
|
||||||
.ThenBy(p => p.ShortName)
|
.ThenBy(p => p.ShortName)
|
||||||
.Skip((pageNumber - 1) * pageSize)
|
.Skip((pageNumber - 1) * pageSize)
|
||||||
.Take(pageSize)
|
.Take(pageSize)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user