Skip to content

Commit

Permalink
Use numeric, not decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed May 8, 2017
1 parent d81dc54 commit 885e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wc-product-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ function wc_get_min_max_price_meta_query( $args ) {
'key' => '_price',
'value' => array( $min, $max ),
'compare' => 'BETWEEN',
'type' => 'DECIMAL',
'type' => 'NUMERIC',
);
}

Expand Down

0 comments on commit 885e332

Please sign in to comment.