We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7179f commit 1a1eda6Copy full SHA for 1a1eda6
app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php
@@ -304,9 +304,12 @@ protected function _fillTemporaryTable(
304
305
/** @var $attribute \Magento\Catalog\Model\ResourceModel\Eav\Attribute */
306
foreach ($columnsList as $columnName => $attribute) {
307
- $countTableName = 't' . $iterationNum++;
+ $countTableName = 't' . ($iterationNum++);
308
$joinCondition = sprintf(
309
- 'e.%3$s = %1$s.%3$s AND %1$s.attribute_id = %2$d AND (%1$s.store_id = %4$d OR %1$s.store_id = 0)',
+ 'e.%3$s = %1$s.%3$s' .
310
+ ' AND %1$s.attribute_id = %2$d' .
311
+ ' AND (%1$s.store_id = %4$d' .
312
+ ' OR %1$s.store_id = 0)',
313
$countTableName,
314
$attribute->getId(),
315
$metadata->getLinkField(),
0 commit comments