fix dateAppoint Emp
This commit is contained in:
parent
5c2d54d7fe
commit
11383febeb
1 changed files with 4 additions and 1 deletions
|
|
@ -129,7 +129,10 @@ async function fetchDataPerson() {
|
|||
}
|
||||
|
||||
if (store.formFilter.dateAppoint) {
|
||||
queryParams.sortBy = "profile.dateAppoint";
|
||||
queryParams.sortBy =
|
||||
empType.value !== "officer"
|
||||
? "profileEmployee.dateAppoint"
|
||||
: "profile.dateAppoint";
|
||||
queryParams.sort = store.formFilter.dateAppoint;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue