Skip to content

Commit 43fbc8f

Browse files
ENGCOM-2116: [Forwardport] Fix #15627: Product order in category changed in Magento 2.2.4 #16343
- Merge Pull Request #16343 from dverkade/magento2:2.3-forwardport-Fix-#15627-Product-order-in-category-changed-in-Magento-2.2.4 - Merged commits: 1. 7d26365
2 parents 92b9a39 + 7d26365 commit 43fbc8f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Block/Product/ProductList

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function setCollection($collection)
196196
$this->_collection->addAttributeToSort(
197197
$this->getCurrentOrder(),
198198
$this->getCurrentDirection()
199-
)->addAttributeToSort('entity_id', $this->getCurrentDirection());
199+
);
200200
} else {
201201
$this->_collection->setOrder($this->getCurrentOrder(), $this->getCurrentDirection());
202202
}

0 commit comments

Comments
 (0)