Compare commits

..

No commits in common. "ecd002456e2d7bbe43bc6d70bd8647c23fb44782" and "a0a79bf6b64bd7b65e2525413cbbf329f68f7d26" have entirely different histories.

3 changed files with 24 additions and 24 deletions

View file

@ -7281,13 +7281,13 @@ export class ProfileController extends Controller {
"current_holders.orgChild2",
"current_holders.orgChild3",
"current_holders.orgChild4",
// "profileSalary",
"profileSalary",
],
// order: {
// profileSalary: {
// order: "DESC",
// },
// },
order: {
profileSalary: {
order: "DESC",
},
},
});
if (!profile) {
const profile = await this.profileEmpRepo.findOne({
@ -7301,13 +7301,13 @@ export class ProfileController extends Controller {
"current_holders.orgChild2",
"current_holders.orgChild3",
"current_holders.orgChild4",
// "profileSalary",
"profileSalary",
],
// order: {
// profileSalary: {
// order: "DESC",
// },
// },
order: {
profileSalary: {
order: "DESC",
},
},
});
if (!profile) {
if (request.user.role.includes("SUPER_ADMIN")) {

View file

@ -3494,13 +3494,13 @@ export class ProfileEmployeeController extends Controller {
"current_holders.orgChild2",
"current_holders.orgChild3",
"current_holders.orgChild4",
// "profileSalary",
"profileSalary",
],
// order: {
// profileSalary: {
// order: "DESC",
// },
// },
order: {
profileSalary: {
order: "DESC",
},
},
});
if (!profile) {
if (request.user.role.includes("SUPER_ADMIN")) {

View file

@ -2071,13 +2071,13 @@ export class ProfileEmployeeTempController extends Controller {
"current_holders.orgChild2",
"current_holders.orgChild3",
"current_holders.orgChild4",
// "profileSalary",
"profileSalary",
],
// order: {
// profileSalary: {
// order: "DESC",
// },
// },
order: {
profileSalary: {
order: "DESC",
},
},
});
if (!profile) {
if (request.user.role.includes("SUPER_ADMIN")) {