From 906daf673c4dd55a7f0452fb1b58797abf217cc9 Mon Sep 17 00:00:00 2001
From: Mayank <mayankzalavadia@gmail.com>
Date: Mon, 16 Oct 2017 10:14:36 +0530
Subject: [PATCH] Redundant round brackets removed from Magento 2.2.0 layer
 navigation return no products when 2 filters selected.

---
 app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php b/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php
index 46080ab5c33..df98969c262 100644
--- a/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php
+++ b/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php
@@ -192,7 +192,7 @@ class Toolbar extends \Magento\Framework\View\Element\Template
             $this->_collection->setPageSize($limit);
         }
         if ($this->getCurrentOrder()) {
-            if (($this->getCurrentOrder()) == 'position') {
+            if ($this->getCurrentOrder() == 'position') {
                 $this->_collection->addAttributeToSort(
                     $this->getCurrentOrder(),
                     $this->getCurrentDirection()
-- 
GitLab