Skip to content

Commit b4c2222

Browse files
ENGCOM-2042: Fix #15627: Product order in category changed in Magento 2.2.4 #15629
- Merge Pull Request #15629 from dverkade/magento2:2.2-Fix-15627-Product-order-in-category-changed - Merged commits: 1. 8981225
2 parents a328a6b + 8981225 commit b4c2222

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)