diff -u b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php --- b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php @@ -117,7 +117,7 @@ $entity_ids = []; foreach ($terms as $term) { - $entity_ids[] = $term->id(); + $entity_ids[$term->id()] = $term->id(); } return $entity_ids;