Skip to content

Commit

Permalink
Merge pull request #5 from valerocompsa/patch-3
Browse files Browse the repository at this point in the history
Update CustomAttributeFilter.php
  • Loading branch information
0m3r authored Mar 29, 2022
2 parents 78b2873 + b4c7d97 commit d4b10e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Search/FilterMapper/CustomAttributeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function apply(Select $select, FilterInterface ...$filters)
$attributes[] = $attributeId;

/** FIX for magento search_tmp insert query hanging */
$optimizedSelectQuery = new \Zend_Db_Expr('(SELECT `entity_id`, `store_id`, `attribute_id`, `value` FROM '
$optimizedSelectQuery = new \Zend_Db_Expr('(SELECT `entity_id`, `store_id`, `attribute_id`, `value`, `source_id` FROM '
. $this->resourceConnection->getTableName('catalog_product_index_eav')
. sprintf(
' WHERE `attribute_id`=%s AND `store_id`=%s'
Expand Down

0 comments on commit d4b10e7

Please sign in to comment.