Skip to content

Commit

Permalink
Fixed: issue of updated payment prefernce is not displayed on order d…
Browse files Browse the repository at this point in the history
…etails page, so sorted the data based on descending order of creation date(#797)
  • Loading branch information
ymaheshwari1 committed Sep 30, 2024
1 parent 9fbd03f commit 9383dd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/OrderService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ const fetchOrderPaymentPreferences = async (orderId: any): Promise<any> => {
"orderId": orderId,
},
"fieldList": ["orderId", "paymentMethodTypeId", "statusId"],
"orderBy": "createdDate DESC",
"distinct": "Y"
}

Expand Down

0 comments on commit 9383dd5

Please sign in to comment.