sort command
This commit is contained in:
parent
c0b920819d
commit
0432f89b22
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ export class CommandController extends Controller {
|
||||||
: `${commandTypeId}`,
|
: `${commandTypeId}`,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.orderBy("commandSalary.createdAt", "ASC")
|
.orderBy("command.createdAt", "ASC")
|
||||||
.skip((page - 1) * pageSize)
|
.skip((page - 1) * pageSize)
|
||||||
.take(pageSize)
|
.take(pageSize)
|
||||||
.getManyAndCount();
|
.getManyAndCount();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue