diff --git a/models/ProductFrontendSearch.php b/models/ProductFrontendSearch.php index d0885d3..654caae 100755 --- a/models/ProductFrontendSearch.php +++ b/models/ProductFrontendSearch.php @@ -197,7 +197,7 @@ $query = Product::find(); } - $query->select('MAX('.ProductVariant::tableName() . '.price) as max, MIN('.ProductVariant::tableName() . '.price) as min)'); + $query->select('MAX('.ProductVariant::tableName() . '.price) as max, MIN('.ProductVariant::tableName() . '.price) as min'); $query->joinWith('variant'); // Price filter fix -- libgit2 0.21.4