Skip to content

Commit

Permalink
Merge branch 'master' into feat-mm-notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchois authored Jun 28, 2024
2 parents 46c6ecf + 26b471a commit db5e30c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ export class LeaveRequestRepository implements ILeaveRequestRepository {
'user.lastName'
])
.innerJoin('leaveRequest.user', 'user')
.orderBy('leaveRequest.status', 'DESC')
.addOrderBy('leaveRequest.startDate', 'DESC')
.orderBy('leaveRequest.startDate', 'DESC')
.limit(MAX_ITEMS_PER_PAGE)
.offset((page - 1) * MAX_ITEMS_PER_PAGE);

Expand Down

0 comments on commit db5e30c

Please sign in to comment.