Skip to content

Commit 15ce648

Browse files
RachanaRachana
authored andcommitted
BUG#AC-7014:related, upsell and crosssells products query position correctly saved in
1 parent 7752280 commit 15ce648

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/RelatedProductGraphQl/Model/DataProvider/RelatedProductDataProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ public function getRelations(array $products, int $linkType): array
118118
$collection = $link->getLinkCollection();
119119
$collection->addFieldToFilter('product_id', ['in' => array_keys($productsByActualIds)]);
120120
$collection->addLinkTypeIdFilter();
121-
122121
$collection->addProductIdFilter();
123122
$collection->joinAttributes();
124123
$collection->setOrder('position', 'ASC');

0 commit comments

Comments
 (0)