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.0.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.19.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.19.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.0.0.rc2 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.18.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.17.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.16.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.15.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-7.0.0.rc1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.14.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.14.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.13.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.12.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.11.2 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.11.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.11.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.10.1 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.10.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.9.0 lib/generators/blacklight/templates/search_builder.rb
blacklight-6.8.0 lib/generators/blacklight/templates/search_builder.rb