Sha256: 9da6c19104483935376f9fd1e1299be6c5d69cb8b784dbe75e3f404323b8e90f
Contents?: true
Size: 557 Bytes
Versions: 21
Compression:
Stored size: 557 Bytes
Contents
# frozen_string_literal: true module Blacklight::FacetsHelperBehavior delegate :facet_configuration_for_field, to: :blacklight_config def facet_field_presenter(facet_config, display_facet) facet_config.presenter.new(facet_config, display_facet, self) end private def facet_value_for_facet_item item if item.respond_to? :value item.value else item end end def facet_item_presenter(facet_config, facet_item, facet_field) facet_config.item_presenter.new(facet_item, facet_config, self, facet_field) end end
Version data entries
21 entries across 21 versions & 2 rubygems