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.
2 parents a328a6b + 8981225 commit b4c2222Copy full SHA for b4c2222
app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php
@@ -196,7 +196,7 @@ public function setCollection($collection)
196
$this->_collection->addAttributeToSort(
197
$this->getCurrentOrder(),
198
$this->getCurrentDirection()
199
- )->addAttributeToSort('entity_id', $this->getCurrentDirection());
+ );
200
} else {
201
$this->_collection->setOrder($this->getCurrentOrder(), $this->getCurrentDirection());
202
}
0 commit comments