Fix report column labels on client side.
This commit is contained in:
parent
a6c089703b
commit
2fed2f2467
|
@ -47,7 +47,7 @@ const headers = [
|
||||||
label: 'Items Sold',
|
label: 'Items Sold',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Orders Count',
|
label: 'Orders',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Net Revenue',
|
label: 'Net Revenue',
|
||||||
|
|
|
@ -32,7 +32,7 @@ export const charts = applyFilters( CATEGORY_REPORT_CHARTS_FILTER, [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'orders_count',
|
key: 'orders_count',
|
||||||
label: __( 'Orders Count', 'woocommerce-admin' ),
|
label: __( 'Orders', 'woocommerce-admin' ),
|
||||||
order: 'desc',
|
order: 'desc',
|
||||||
orderby: 'orders_count',
|
orderby: 'orders_count',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
|
|
@ -39,7 +39,7 @@ class CategoriesReportTable extends Component {
|
||||||
isLeftAligned: true,
|
isLeftAligned: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: __( 'Items sold', 'woocommerce-admin' ),
|
label: __( 'Items Sold', 'woocommerce-admin' ),
|
||||||
key: 'items_sold',
|
key: 'items_sold',
|
||||||
required: true,
|
required: true,
|
||||||
defaultSort: true,
|
defaultSort: true,
|
||||||
|
|
|
@ -19,7 +19,7 @@ const ORDERS_REPORT_ADVANCED_FILTERS_FILTER = 'woocommerce_admin_orders_report_a
|
||||||
export const charts = applyFilters( ORDERS_REPORT_CHARTS_FILTER, [
|
export const charts = applyFilters( ORDERS_REPORT_CHARTS_FILTER, [
|
||||||
{
|
{
|
||||||
key: 'orders_count',
|
key: 'orders_count',
|
||||||
label: __( 'Orders Count', 'woocommerce-admin' ),
|
label: __( 'Orders', 'woocommerce-admin' ),
|
||||||
type: 'number',
|
type: 'number',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,7 +32,7 @@ export const charts = applyFilters( PRODUCTS_REPORT_CHARTS_FILTER, [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'orders_count',
|
key: 'orders_count',
|
||||||
label: __( 'Orders Count', 'woocommerce-admin' ),
|
label: __( 'Orders', 'woocommerce-admin' ),
|
||||||
order: 'desc',
|
order: 'desc',
|
||||||
orderby: 'orders_count',
|
orderby: 'orders_count',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
|
|
@ -40,7 +40,7 @@ export const charts = applyFilters( TAXES_REPORT_CHARTS_FILTER, [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'orders_count',
|
key: 'orders_count',
|
||||||
label: __( 'Orders Count', 'woocommerce-admin' ),
|
label: __( 'Orders', 'woocommerce-admin' ),
|
||||||
order: 'desc',
|
order: 'desc',
|
||||||
orderby: 'orders_count',
|
orderby: 'orders_count',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
|
Loading…
Reference in New Issue