Merge branch 'development' into 'devops-staging'
fix: fix order by transaction See merge request empatnusabangsa/ppob/ppob-backend!89
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user