Make the stat titles more specific to remove ambiguity (https://github.com/woocommerce/woocommerce-admin/pull/6925)
This commit is contained in:
parent
278a92f52d
commit
409618d73a
|
@ -156,8 +156,8 @@ class Controller extends \WC_REST_Reports_Controller {
|
||||||
public function get_item_schema() {
|
public function get_item_schema() {
|
||||||
$data_values = array(
|
$data_values = array(
|
||||||
'items_sold' => array(
|
'items_sold' => array(
|
||||||
'title' => __( 'Items Sold', 'woocommerce-admin' ),
|
'title' => __( 'Products Sold', 'woocommerce-admin' ),
|
||||||
'description' => __( 'Number of items sold.', 'woocommerce-admin' ),
|
'description' => __( 'Number of product items sold.', 'woocommerce-admin' ),
|
||||||
'type' => 'integer',
|
'type' => 'integer',
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
|
|
|
@ -153,8 +153,8 @@ class Controller extends \WC_REST_Reports_Controller {
|
||||||
public function get_item_schema() {
|
public function get_item_schema() {
|
||||||
$data_values = array(
|
$data_values = array(
|
||||||
'items_sold' => array(
|
'items_sold' => array(
|
||||||
'title' => __( 'Items Sold', 'woocommerce-admin' ),
|
'title' => __( 'Variations Sold', 'woocommerce-admin' ),
|
||||||
'description' => __( 'Number of items sold.', 'woocommerce-admin' ),
|
'description' => __( 'Number of variation items sold.', 'woocommerce-admin' ),
|
||||||
'type' => 'integer',
|
'type' => 'integer',
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
|
|
Loading…
Reference in New Issue