order reports descending
All checks were successful
delpoy / build-and-deploy (push) Successful in 57s
All checks were successful
delpoy / build-and-deploy (push) Successful in 57s
This commit is contained in:
parent
6d9f3c41aa
commit
977905c390
@ -59,7 +59,7 @@ export const POST = (async ({ request, cookies }) => {
|
||||
{ model: Admin, as: 'auditor' },
|
||||
{ model: StrikeReason, as: 'strike_reason' }
|
||||
],
|
||||
order: ['created_at'],
|
||||
order: [['created_at', 'DESC']],
|
||||
offset: data.from || 0,
|
||||
limit: data.limit || 100
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user