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-8.6.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.40.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.6.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.5.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.5.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.39.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.4.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.38.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/lib/generators/blacklight/templates/search_builder.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/lib/generators/blacklight/templates/search_builder.rb
blacklight-8.3.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.2.2 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.2.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.2.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.37.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.36.2 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.36.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.36.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.35.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-8.1.0 lib/generators/blacklight/templates/search_builder.rb