Skip to content

Commit

Permalink
Reporting: Fix transaction list sort by payout currency (#10041)
Browse files Browse the repository at this point in the history
Co-authored-by: Nagesh Pai <[email protected]>
Co-authored-by: Jessy Pappachan <[email protected]>
  • Loading branch information
3 people authored Dec 30, 2024
1 parent 442ba90 commit cd3e288
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog/fix-10038-payout-currency-sort
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Fix transaction list sorting by payout currency
4 changes: 2 additions & 2 deletions client/transactions/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const getColumns = (
visible: false,
},
{
key: 'deposit_currency',
key: 'currency',
label: __( 'Payout Currency', 'woocommerce-payments' ),
screenReaderLabel: __( 'Payout Currency', 'woocommerce-payments' ),
isSortable: true,
Expand Down Expand Up @@ -537,7 +537,7 @@ export const TransactionsList = (
display: clickable( txn.customer_currency.toUpperCase() ),
},
customer_amount: formatCustomerAmount(),
deposit_currency: {
currency: {
value: txn.currency.toUpperCase(),
display: clickable( txn.currency.toUpperCase() ),
},
Expand Down

0 comments on commit cd3e288

Please sign in to comment.