Sha256: 1e26d1553140d9680c1ac0eb6fc6a824c3dfc751f564c2ef043250a378f6d1e4
Contents?: true
Size: 495 Bytes
Versions: 6
Compression:
Stored size: 495 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 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
6 entries across 6 versions & 1 rubygems