feat: push urgent to latest
This commit is contained in:
parent
fd8a932e95
commit
bf204c926d
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ export class RequestDataController extends Controller {
|
|||
},
|
||||
take: pageSize,
|
||||
skip: (page - 1) * pageSize,
|
||||
orderBy: { createdAt: "desc" },
|
||||
orderBy: [{ quotation: { urgent: "desc" } }, { createdAt: "desc" }],
|
||||
}),
|
||||
prisma.requestData.count({ where }),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue