Sha256: c428a0d1db511008177bc4c4a95786fff62e256c3f2a5da624439ea1bb44ffb4

Contents?: true

Size: 403 Bytes

Versions: 125

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true
class <%= model_name.classify %> < Blacklight::SearchBuilder
  include Blacklight::Solr::SearchBuilderBehavior

  ##
  # @example Adding a new step to the processor chain
  #   self.default_processor_chain += [:add_custom_data_to_query]
  #
  #   def add_custom_data_to_query(solr_parameters)
  #     solr_parameters[:custom] = blacklight_params[:user_value]
  #   end
end

Version data entries

125 entries across 124 versions & 2 rubygems

Version Path
blacklight-7.34.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta8 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta7 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta6 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta5 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.33.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta4 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta3 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta2 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.0.0.beta1 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.33.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.32.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.31.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.30.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.29.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.25.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.28.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.27.1 lib/generators/blacklight/templates/search_builder.rb