Skip to content

Commit 012d67c

Browse files
committed
MAGETWO-94060: [2.3.x] Unlink CatalogWidget from EAV indexer
1 parent 761396d commit 012d67c

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogWidget/Model/Rule/Condition

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogWidget/Model/Rule/Condition/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ protected function addGlobalAttribute(
174174
$collection->addAttributeToSelect($attribute->getAttributeCode(), 'inner');
175175
break;
176176
default:
177-
$alias = 'at_' . md5($this->getId()) . $attribute->getAttributeCode();
177+
$alias = 'at_' . sha1($this->getId()) . $attribute->getAttributeCode();
178178

179179
$connection = $this->_productResource->getConnection();
180180
$storeId = $connection->getIfNullSql($alias . '.store_id', $this->storeManager->getStore()->getId());

0 commit comments

Comments
 (0)