Skip to content

Commit bc857c7

Browse files
committed
PB-229: Story Bug for PB-107: Incorrect Number of Products
1 parent d8315da commit bc857c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/Controller/Adminhtml/Form/Element/ProductTotals.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function execute()
143143
['link_table' => $collection->getTable('catalog_product_link')],
144144
'link_table.product_id = e.entity_id',
145145
['product_id']
146-
)->where('link_table.product_id IS NULL and super_link_table.product_id IS NULL');
146+
)->where('link_table.product_id IS NULL OR super_link_table.product_id IS NULL');
147147

148148
$totalProducts = $collection->getSize();
149149
$disabledProducts = $collection

0 commit comments

Comments
 (0)