Fix report column labels on client side.

This commit is contained in:
Jeff Stieler 2019-08-26 15:37:16 -07:00
parent a6c089703b
commit 2fed2f2467
6 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ const headers = [
label: 'Items Sold',
},
{
label: 'Orders Count',
label: 'Orders',
},
{
label: 'Net Revenue',

View File

@ -32,7 +32,7 @@ export const charts = applyFilters( CATEGORY_REPORT_CHARTS_FILTER, [
},
{
key: 'orders_count',
label: __( 'Orders Count', 'woocommerce-admin' ),
label: __( 'Orders', 'woocommerce-admin' ),
order: 'desc',
orderby: 'orders_count',
type: 'number',

View File

@ -39,7 +39,7 @@ class CategoriesReportTable extends Component {
isLeftAligned: true,
},
{
label: __( 'Items sold', 'woocommerce-admin' ),
label: __( 'Items Sold', 'woocommerce-admin' ),
key: 'items_sold',
required: true,
defaultSort: true,

View File

@ -19,7 +19,7 @@ const ORDERS_REPORT_ADVANCED_FILTERS_FILTER = 'woocommerce_admin_orders_report_a
export const charts = applyFilters( ORDERS_REPORT_CHARTS_FILTER, [
{
key: 'orders_count',
label: __( 'Orders Count', 'woocommerce-admin' ),
label: __( 'Orders', 'woocommerce-admin' ),
type: 'number',
},
{

View File

@ -32,7 +32,7 @@ export const charts = applyFilters( PRODUCTS_REPORT_CHARTS_FILTER, [
},
{
key: 'orders_count',
label: __( 'Orders Count', 'woocommerce-admin' ),
label: __( 'Orders', 'woocommerce-admin' ),
order: 'desc',
orderby: 'orders_count',
type: 'number',

View File

@ -40,7 +40,7 @@ export const charts = applyFilters( TAXES_REPORT_CHARTS_FILTER, [
},
{
key: 'orders_count',
label: __( 'Orders Count', 'woocommerce-admin' ),
label: __( 'Orders', 'woocommerce-admin' ),
order: 'desc',
orderby: 'orders_count',
type: 'number',