Skip to content

Commit

Permalink
Normalize solr field names to strings in the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jul 28, 2016
1 parent c31a190 commit 7820fcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/blacklight/configuration/field.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ def normalize! blacklight_config = nil
self.if = true if self.if.nil?
self.unless = false if self.unless.nil?

self.field &&= self.field.to_s

self
end

Expand Down

0 comments on commit 7820fcb

Please sign in to comment.