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.9.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.8.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.8.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.23.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.7.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.6.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.5.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.22.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.5.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.4.2 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.4.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.21.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.4.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.3.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.2.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.1.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.1.0.alpha lib/generators/blacklight/templates/search_builder.rb
blacklight-6.20.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.0.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.19.2 lib/generators/blacklight/templates/search_builder.rb