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 authored and mahesh-rajawat committed May 2, 2019
1 parent 020f970 commit aae1e59
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,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 aae1e59

Please sign in to comment.