From 0d11cb1f4c8f495422ea6df1ecb13c326d319063 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Tue, 10 Oct 2017 16:28:49 +0100
Subject: [PATCH] Issue #2909373 by karthikkumarbodu, xjm, mfernea, dawehner:
 Views TaxonomyIndexTidDepth has a weird commented IN condition

---
 .../taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
index 93115584c8cb..802786e4674c 100644
--- a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
+++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
@@ -55,7 +55,7 @@ public function query() {
       $operator = '=';
     }
     else {
-      $operator = 'IN';# " IN (" . implode(', ', array_fill(0, sizeof($this->value), '%d')) . ")";
+      $operator = 'IN';
     }
 
     // The normal use of ensureMyTable() here breaks Views.
-- 
GitLab