diff --git a/changelog/fix-10038-payout-currency-sort b/changelog/fix-10038-payout-currency-sort new file mode 100644 index 00000000000..54a89873c71 --- /dev/null +++ b/changelog/fix-10038-payout-currency-sort @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix transaction list sorting by payout currency diff --git a/client/transactions/list/index.tsx b/client/transactions/list/index.tsx index a4d9abc852a..6f2c68a590d 100644 --- a/client/transactions/list/index.tsx +++ b/client/transactions/list/index.tsx @@ -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, @@ -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() ), },