Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .solr_wrapper.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Place any default configuration for solr_wrapper here
port: 8983
verbose: true
version: 8.9.0
collection:
dir: solr/conf/
name: blacklight-core
7 changes: 4 additions & 3 deletions lib/blacklight_range_limit/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ class Engine < Rails::Engine
config.action_dispatch.rescue_responses.merge!(
"BlacklightRangeLimit::InvalidRange" => :not_acceptable
)

config.before_configuration do
Blacklight::Configuration::FacetField.prepend BlacklightRangeLimit::FacetFieldConfigOverride
config.before_eager_load do
ActiveSupport::Reloader.to_prepare do
Blacklight::Configuration::FacetField.prepend BlacklightRangeLimit::FacetFieldConfigOverride
end
end
end
end