Skip to content

Commit

Permalink
Merge pull request #798 from ymaheshwari1/#797
Browse files Browse the repository at this point in the history
Fixed: issue of updated payment preference is not displayed on order details page, so sorted the data based on descending order of creation date(#797)
  • Loading branch information
ravilodhi authored Sep 30, 2024
2 parents f95529a + 9383dd5 commit eb4ee37
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 @@ -801,6 +801,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 eb4ee37

Please sign in to comment.