Merge pull request #1740 from katzwebservices/patch-1

Fix the ordering on the best sellers.
This commit is contained in:
Mike Jolley 2012-11-12 15:43:01 -08:00
commit 8eae2eab3d
1 changed files with 1 additions and 1 deletions

View File

@ -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,
);