Fix bug Order posExecutiveNameOrg
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m14s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m14s
This commit is contained in:
parent
4268f93ed3
commit
ea25979374
1 changed files with 1 additions and 1 deletions
|
|
@ -1030,7 +1030,7 @@ export class WorkflowController extends Controller {
|
|||
|
||||
if (body.sortBy) {
|
||||
queryBuilder = queryBuilder.orderBy(
|
||||
`entity.${body.sortBy}`,
|
||||
`entity.${body.sortBy === "posExecutiveNameOrg" ? "posExecutiveName" : body.sortBy}`,
|
||||
body.descending ? "DESC" : "ASC",
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue