fix: fix order by transaction
This commit is contained in:
parent
cbf4d2080f
commit
32ad55c5b8
|
@ -1061,7 +1061,8 @@ export class TransactionService {
|
||||||
'amount',
|
'amount',
|
||||||
'status',
|
'status',
|
||||||
'userData.name',
|
'userData.name',
|
||||||
]);
|
])
|
||||||
|
.orderBy('transaction.created_at','DESC');
|
||||||
|
|
||||||
if (startDate && endDate) {
|
if (startDate && endDate) {
|
||||||
baseQuery.andWhere(
|
baseQuery.andWhere(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user