Merge pull request #1740 from katzwebservices/patch-1
Fix the ordering on the best sellers.
This commit is contained in:
commit
8eae2eab3d
|
@ -81,7 +81,7 @@ class WooCommerce_Widget_Best_Sellers extends WP_Widget {
|
|||
'post_status' => 'publish',
|
||||
'post_type' => 'product',
|
||||
'meta_key' => 'total_sales',
|
||||
'orderby' => 'meta_value',
|
||||
'orderby' => 'meta_value_num',
|
||||
'no_found_rows' => 1,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue