Added defaults for new params to Data Store.
This commit is contained in:
parent
9d86e01f4e
commit
723ac1e506
|
@ -245,10 +245,16 @@ class WC_Admin_Reports_Orders_Data_Store extends WC_Admin_Reports_Data_Store imp
|
||||||
'after' => date( WC_Admin_Reports_Interval::$iso_datetime_format, $week_back ),
|
'after' => date( WC_Admin_Reports_Interval::$iso_datetime_format, $week_back ),
|
||||||
'interval' => 'week',
|
'interval' => 'week',
|
||||||
'fields' => '*',
|
'fields' => '*',
|
||||||
|
|
||||||
|
'match' => 'ALL',
|
||||||
|
'status_is' => array(),
|
||||||
|
'status_is_not' => array(),
|
||||||
|
'product_includes' => array(),
|
||||||
|
'product_excludes' => array(),
|
||||||
|
'code_includes' => array(),
|
||||||
|
'code_excludes' => array(),
|
||||||
|
'customer' => '',
|
||||||
'categories' => array(),
|
'categories' => array(),
|
||||||
'coupons' => array(),
|
|
||||||
'order_status' => parent::get_report_order_statuses(),
|
|
||||||
'products' => array(),
|
|
||||||
);
|
);
|
||||||
$query_args = wp_parse_args( $query_args, $defaults );
|
$query_args = wp_parse_args( $query_args, $defaults );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue