feat: ordering
This commit is contained in:
parent
f78fd01313
commit
acec119845
1 changed files with 1 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ export class QuotationController extends Controller {
|
|||
createdBy: true,
|
||||
updatedBy: true,
|
||||
},
|
||||
orderBy: [{ urgent: "desc" }, { createdAt: "desc" }],
|
||||
take: pageSize,
|
||||
skip: (page - 1) * pageSize,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue