From bce6c89bbd8dca90bc27f9cb75f3c8bbb39084c1 Mon Sep 17 00:00:00 2001
From: Tanc <mail@tanc.me>
Date: Thu, 26 Sep 2013 17:14:08 +0200
Subject: [PATCH] Issue #2098641 by tanc: Fix grouped exposed filters for tids
 not working.

---
 .../lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php
index 486ae5f..f9fe86a 100644
--- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php
+++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/filter/TaxonomyIndexTid.php
@@ -246,9 +246,13 @@ public function acceptExposedInput($input) {
     $rc = parent::acceptExposedInput($input);
     if ($rc) {
       // If we have previously validated input, override.
-      if (isset($this->validated_exposed_input)) {
+      if (!$this->isAGroup() && isset($this->validated_exposed_input)) {
         $this->value = $this->validated_exposed_input;
       }
+      else {
+        // This is a group so provide the group values.
+        $this->value = $this->group_info;
+      }
     }
 
     return $rc;
-- 
1.8.3.4 (Apple Git-47)

