app/components/blacklight/hierarchy/facet_field_component.rb in blacklight-hierarchy-4.2.1 vs app/components/blacklight/hierarchy/facet_field_component.rb in blacklight-hierarchy-4.3.0
- old
+ new
@@ -24,10 +24,10 @@
tree[:_]
end
def qfacet_selected?
config = helpers.facet_configuration_for_field(field_name)
- helpers.search_state.has_facet?(config, value: item.qvalue)
+ helpers.search_state.filter(config).include?(item.qvalue)
end
end
end
end