From 68a8012f572a5d9fc2e979d9281b9b6f72f2d857 Mon Sep 17 00:00:00 2001 From: Connor Jennings Date: Mon, 19 Aug 2019 12:42:34 -0400 Subject: [PATCH] CSV download of Orders now shows coupons in Coupon(s) column --- .../woocommerce-admin/client/analytics/report/orders/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/client/analytics/report/orders/table.js b/plugins/woocommerce-admin/client/analytics/report/orders/table.js index bf1e0167f38..ac2be5777cc 100644 --- a/plugins/woocommerce-admin/client/analytics/report/orders/table.js +++ b/plugins/woocommerce-admin/client/analytics/report/orders/table.js @@ -192,7 +192,7 @@ export default class OrdersReportTable extends Component { formattedCoupons.length ? [ formattedCoupons[ 0 ] ] : [], formattedCoupons ), - value: formattedCoupons.map( item => item.code ).join( ' ' ), + value: formattedCoupons.map( coupon => coupon.label ).join( ' ' ), }, { display: renderCurrency( net_total, currency ),