lib/blacklight/configuration/facet_field.rb in blacklight-5.0.0.pre2 vs lib/blacklight/configuration/facet_field.rb in blacklight-5.0.0.pre3
- old
+ new
@@ -5,9 +5,13 @@
if self.single and self.tag.blank? and self.ex.blank?
self.tag = "#{self.field}_single"
self.ex = "#{self.field}_single"
end
+
+ self.collapse = true if self.collapse.nil?
+ self.show = true if self.show.nil?
+
super
end
end
end