fix order
This commit is contained in:
parent
7469393551
commit
1837cf09ac
4 changed files with 5 additions and 5 deletions
|
|
@ -314,7 +314,7 @@ export class DevelopmentOfficerHistoryController extends Controller {
|
|||
}),
|
||||
)
|
||||
.orderBy("development.year", "DESC")
|
||||
.orderBy("developmentHistory.createdAt", "DESC")
|
||||
.addOrderBy("developmentHistory.createdAt", "DESC")
|
||||
.skip((body.page - 1) * body.pageSize)
|
||||
.take(body.pageSize)
|
||||
.getManyAndCount();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue