From 885e332f5afe1929e190764ab412e86549a22967 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 8 May 2017 12:34:00 +0100 Subject: [PATCH] Use numeric, not decimal Closes #14815 --- includes/wc-product-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/wc-product-functions.php b/includes/wc-product-functions.php index cc80ebc06c991..d93dc731cd914 100644 --- a/includes/wc-product-functions.php +++ b/includes/wc-product-functions.php @@ -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', ); }