sort data #798
This commit is contained in:
parent
ef01602285
commit
b456fe46ff
2 changed files with 11 additions and 1 deletions
|
|
@ -4310,6 +4310,8 @@ export class ProfileController extends Controller {
|
|||
)
|
||||
.skip((requestBody.page - 1) * requestBody.pageSize)
|
||||
.take(requestBody.pageSize)
|
||||
.orderBy("posType.posTypeRank", "ASC")
|
||||
.addOrderBy("posLevel.posLevelRank", "ASC")
|
||||
.getManyAndCount();
|
||||
|
||||
const data = profiles.map((_data) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue