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.
1 parent 1d998f9 commit 906daf6Copy full SHA for 906daf6
app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php
@@ -192,7 +192,7 @@ public function setCollection($collection)
192
$this->_collection->setPageSize($limit);
193
}
194
if ($this->getCurrentOrder()) {
195
- if (($this->getCurrentOrder()) == 'position') {
+ if ($this->getCurrentOrder() == 'position') {
196
$this->_collection->addAttributeToSort(
197
$this->getCurrentOrder(),
198
$this->getCurrentDirection()
0 commit comments