Skip to content

Commit

Permalink
#22318: Static test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
p-bystritsky committed Apr 16, 2019
1 parent ae7179f commit 1a1eda6
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,12 @@ protected function _fillTemporaryTable(

/** @var $attribute \Magento\Catalog\Model\ResourceModel\Eav\Attribute */
foreach ($columnsList as $columnName => $attribute) {
$countTableName = 't' . $iterationNum++;
$countTableName = 't' . ($iterationNum++);
$joinCondition = sprintf(
'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' .
' AND %1$s.attribute_id = %2$d' .
' AND (%1$s.store_id = %4$d' .
' OR %1$s.store_id = 0)',
$countTableName,
$attribute->getId(),
$metadata->getLinkField(),
Expand Down

0 comments on commit 1a1eda6

Please sign in to comment.