Merge branch 'development' into 'devops-staging'

fix: fix order by transaction

See merge request empatnusabangsa/ppob/ppob-backend!89
This commit is contained in:
ilham dwi pratama 2022-01-06 04:43:31 +00:00
commit 22d4f0a8bc

View File

@ -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(