Skip to content

Commit 55b564c

Browse files
committed
MAGETWO-94005: Unlink CatalogWidget from EAV indexer
1 parent ce2bd0d commit 55b564c

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
@@ -164,7 +164,7 @@ protected function addGlobalAttribute(
164164
$collection->addAttributeToSelect($attribute->getAttributeCode(), 'inner');
165165
break;
166166
default:
167-
$alias = 'at_' . md5($this->getId()) . $attribute->getAttributeCode();
167+
$alias = 'at_' . sha1($this->getId()) . $attribute->getAttributeCode();
168168

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

0 commit comments

Comments
 (0)