Sha256: 31cafdda40d5b911534272928e03b44e82c0495345bd24b349d16a5dd1244851
Contents?: true
Size: 509 Bytes
Versions: 20
Compression:
Stored size: 509 Bytes
Contents
module Blacklight class Configuration::FacetField < Blacklight::Configuration::Field def normalize! blacklight_config = nil self.query.stringify_keys! if self.query self.collapse = true if self.collapse.nil? self.show = true if self.show.nil? self.if = self.show if self.if.nil? super if self.single and self.tag.blank? and self.ex.blank? self.tag = "#{self.key}_single" self.ex = "#{self.key}_single" end self end end end
Version data entries
20 entries across 20 versions & 1 rubygems