We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb767c commit 8ef06f1Copy full SHA for 8ef06f1
app/code/Magento/Catalog/Model/ResourceModel/Category.php
@@ -518,9 +518,8 @@ public function getProductsPosition($category)
518
$websiteId
519
);
520
}
521
- $bind = ['category_id' => (int)$category->getId()];
522
523
- return $this->getConnection()->fetchPairs($select, $bind);
+ return $this->getConnection()->fetchPairs($select);
524
525
526
/**
app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php
@@ -714,8 +714,7 @@ public function getProductsPosition($category)
714
715
716
717
718
719
720
721
0 commit comments