Skip to content

Commit 3978f42

Browse files
committed
MC-41284: Catalog product grid filter works incorrectly
1 parent fdecb6c commit 3978f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/ProductCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function _productLimitationJoinPrice()
3333
*/
3434
public function getSize()
3535
{
36-
if ((bool)$this->_scopeConfig->getValue('admin/grid/show_approximate_products_amount_grid')) {
36+
if ($this->_scopeConfig->getValue('admin/grid/show_approximate_products_amount_grid')) {
3737
$sql = $this->getSelectCountSql();
3838
return $this->analyzeCount($sql);
3939
}

0 commit comments

Comments
 (0)