Sha256: da8788b2d4617f63a35131237162128e0e94b0169882242281af159deb503657
Contents?: true
Size: 591 Bytes
Versions: 4
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true module Blacklight class FacetFieldListComponent < Blacklight::Component def initialize(facet_field:, layout: nil) @facet_field = facet_field @layout = layout == false ? FacetFieldNoLayoutComponent : Blacklight::FacetFieldComponent end # Here for backwards compatibility only. # @private def render_facet_limit_list(*args) Deprecation.silence(Blacklight::FacetsHelperBehavior) do helpers.render_facet_limit_list(*args) end end def render? @facet_field.paginator.items.any? end end end
Version data entries
4 entries across 4 versions & 1 rubygems