fix
This commit is contained in:
parent
8af006bae3
commit
77b455ea8f
1 changed files with 5 additions and 0 deletions
|
|
@ -9249,6 +9249,11 @@ export class ProfileController extends Controller {
|
|||
`profileSalary.commandNo`,
|
||||
body.descending ? "DESC" : "ASC"
|
||||
);
|
||||
}else if(body.sortBy === "orgRootName"){
|
||||
query = query.orderBy(
|
||||
`orgRoot.orgRootName`,
|
||||
body.descending ? "DESC" : "ASC"
|
||||
);
|
||||
}else{
|
||||
query = query.orderBy(
|
||||
`profile.${body.sortBy}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue