Skip to content

Commit bb2216a

Browse files
author
Oleksii Korshenko
authored
ENGCOM-1252: Specify the table when adding field to filter #14599
2 parents cabb18b + 8e0675b commit bb2216a

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Option

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Option/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function _construct()
7878
*/
7979
public function setAttributeFilter($setId)
8080
{
81-
return $this->addFieldToFilter('attribute_id', $setId);
81+
return $this->addFieldToFilter('main_table.attribute_id', $setId);
8282
}
8383

8484
/**

0 commit comments

Comments
 (0)