diff --git a/contrib/search_api_facetapi/plugins/facetapi/query_type_term.inc b/contrib/search_api_facetapi/plugins/facetapi/query_type_term.inc index 7659171f..64d797a7 100644 --- a/contrib/search_api_facetapi/plugins/facetapi/query_type_term.inc +++ b/contrib/search_api_facetapi/plugins/facetapi/query_type_term.inc @@ -203,15 +203,8 @@ public function build() { $filter = '[' . substr($filter, 0, $pos) . ' TO ' . substr($filter, $pos + 1) . ']'; } } - // Hide the count if the term can't be loaded. - if (taxonomy_term_load($filter) === FALSE) { - $count = NULL; - } - else { - $count = $value['count']; - } $build[$filter] = array( - '#count' => $count, + '#count' => $value['count'], ); } }