Skip to content

Commit

Permalink
MAGETWO-80828: A solution for Product Repeat Issue after filter on ca…
Browse files Browse the repository at this point in the history
…tegory listing page. #11206

- fix static test
  • Loading branch information
vrann committed Oct 12, 2017
1 parent c2c997f commit 98bd8be
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -195,8 +195,8 @@ public function setCollection($collection)
if (($this->getCurrentOrder()) == 'position') {
$this->_collection->addAttributeToSort(
$this->getCurrentOrder(),
$this->getCurrentDirection())->addAttributeToSort('entity_id', $this->getCurrentDirection()
);
$this->getCurrentDirection()
)->addAttributeToSort('entity_id', $this->getCurrentDirection());
} else {
$this->_collection->setOrder($this->getCurrentOrder(), $this->getCurrentDirection());
}
Expand Down

0 comments on commit 98bd8be

Please sign in to comment.