app/helpers/blacklight/hierarchy_helper.rb
# FIXME: remove baked in underscore separator in field name
remove baked in underscore separator in field name
remove baked in underscore separator in field name
def hide_facet?(field_name)
    return false unless is_hierarchical?(field_name)
    prefix = field_name.split(/_/).first
    field_name != "#{prefix}_#{facet_order(prefix)}"
  end
def hide_facet? ( field_name ) return false unless is_hierarchical? ( field_name ) prefix = field_name . split ( / _ / ) . first field_name != "#{prefix}_#{facet_order(prefix)}" end
FIXME: remove baked in underscore separator in field name
FIXME : remove baked in underscore separator in field name
field_name
<not_specific>