lib/blacklight/solr/search_builder_behavior.rb in blacklight-8.3.0 vs lib/blacklight/solr/search_builder_behavior.rb in blacklight-8.4.0

- old
+ new

@@ -159,10 +159,10 @@ type: 'terms', field: facet.field, limit: facet_limit_with_pagination(field_name) ).merge(additional_parameters) - solr_parameters[:json][:facet][field_name] = field_config.select { |_k, v| v.present? } + solr_parameters[:json][:facet][field_name] = field_config.compact_blank end ## # Add appropriate Solr facetting directives in, including # taking account of our facet paging/'more'. This is not