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