Skip to content

Commit 554d871

Browse files
ENGCOM-2042: Fix #15627: Product order in category changed in Magento 2.2.4 #15629
2 parents 44f9b08 + b4c2222 commit 554d871

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)