| @@ -105,9 +105,9 @@ | ||
| 105 | 105 | |
| 106 | 106 | $terms_query = $this->query->terms_query( |
| 107 | 107 | [ |
| 108 | 108 | 'taxonomy' => $this->attributes['taxonomy'], |
| 109 | - 'multiple_kb' => $this->attributes['multiple_knowledge_base'], | |
| 109 | + 'multiple_kb' => ( $this->attributes['multiple_knowledge_base'] && ! empty( $this->attributes['kb_slug'] ) ) ? true : false, | |
| 110 | 110 | 'kb_slug' => $this->attributes['kb_slug'], |
| 111 | 111 | 'terms' => $this->attributes['terms'], |
| 112 | 112 | 'order' => $this->attributes['terms_order'], |
| 113 | 113 | 'orderby' => $this->attributes['terms_orderby'] |