Sha256: ac0b07be70b547e76e3fd9c452211c744c5958e2ca067e3f9ace6c27b8cba351
Contents?: true
Size: 467 Bytes
Versions: 25
Compression:
Stored size: 467 Bytes
Contents
module Blacklight class Configuration::SearchField < Blacklight::Configuration::Field def normalize! blacklight_config = nil self.if = self.include_in_simple_select if self.if.nil? super self.qt ||= blacklight_config.default_solr_params[:qt] if blacklight_config && blacklight_config.default_solr_params self end def validate! raise ArgumentError.new("Must supply a search field key") if self.key.nil? end end end
Version data entries
25 entries across 25 versions & 1 rubygems