Sha256: 45d46a1d0225f46418e63d1fba7741fc669f382832a97117ca72160f20b2a7e3
Contents?: true
Size: 503 Bytes
Versions: 69
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true module Blacklight class InclusiveFacetItemPresenter < Blacklight::FacetItemPresenter ## # Get the displayable version of a facet's value # # @return [String] def label view_context.safe_join( Array(facet_item).map { |value| Blacklight::FacetGroupedItemPresenter.new(facet_item, value, facet_config, view_context, facet_field, search_state).label }, view_context.t('blacklight.advanced_search.or_html') ) end end end
Version data entries
69 entries across 68 versions & 2 rubygems