File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
CatalogWidget/Model/Rule/Condition
Catalog/Model/ResourceModel/Eav Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,6 @@ public function isEnabledInFlat()
240240 return $ this ->_isEnabledInFlat ();
241241 }
242242
243-
244243 /**
245244 * Is attribute enabled for flat indexing
246245 *
Original file line number Diff line number Diff line change @@ -125,7 +125,11 @@ public function addToCollection($collection)
125125 } else {
126126 $ alias = 'at_ ' . $ attribute ->getAttributeCode ();
127127 if (!in_array ($ alias , array_keys ($ collection ->getSelect ()->getPart ('from ' )))) {
128- $ collection ->joinAttribute ($ attribute ->getAttributeCode (), 'catalog_product/ ' .$ attribute ->getAttributeCode (), 'entity_id ' );
128+ $ collection ->joinAttribute (
129+ $ attribute ->getAttributeCode (),
130+ 'catalog_product/ ' .$ attribute ->getAttributeCode (),
131+ 'entity_id '
132+ );
129133 }
130134
131135 $ this ->joinedAttributes [$ attribute ->getAttributeCode ()] = $ alias . '.value ' ;
You can’t perform that action at this time.
0 commit comments