Sha256: c9bd42e860efa007cc47c65e326472ad7bfdb7484507f814ab7874d0f94f7ab9

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

class CommonwealthFlaggedSearchBuilder < Blacklight::SearchBuilder

  include Blacklight::Solr::SearchBuilderBehavior
  include CommonwealthVlrEngine::CommonwealthSearchBuilderBehavior

  self.default_processor_chain += [
      :exclude_unpublished_items, :flagged_filter
  ]

  unless I18n.t('blacklight.home.browse.institutions.enabled')
    self.default_processor_chain += [:institution_limit]
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commonwealth-vlr-engine-0.0.4 lib/commonwealth-vlr-engine/search_builder/flagged_search_builder.rb
commonwealth-vlr-engine-0.0.3 lib/commonwealth-vlr-engine/search_builder/flagged_search_builder.rb
commonwealth-vlr-engine-0.0.2 lib/commonwealth-vlr-engine/search_builder/flagged_search_builder.rb