Merge branch 'development' into 'devops-staging'
fix: fix order by transaction See merge request empatnusabangsa/ppob/ppob-backend!89
This commit is contained in:
commit
22d4f0a8bc
|
@ -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