Skip to content

Commit 9f4d186

Browse files
MAGETWO-68770: Fix addIdFilter method #9400
2 parents 145705e + 8bad32a commit 9f4d186

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Category/Flat

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function addIdFilter($categoryIds)
119119
$condition = ['in' => $ids];
120120
}
121121
}
122-
$this->addFieldToFilter('entity_id', $condition);
122+
$this->addFieldToFilter('main_table.entity_id', $condition);
123123
return $this;
124124
}
125125

0 commit comments

Comments
 (0)