Skip to content

Commit

Permalink
Update to test against Rails 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jun 13, 2017
1 parent 797aacb commit c2b5ff1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -31,6 +31,7 @@ else
gem 'responders', '~> 2.0'
gem 'sass-rails', '>= 5.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'json', '~> 1.8'
when /^4.[01]/
gem 'sass-rails', '< 5.0'
end
Expand Down
Expand Up @@ -32,7 +32,7 @@ def select_menu_for_field_operator
# Current params without fields that will be over-written by adv. search,
# or other fields we don't want.
def advanced_search_context
my_params = params.except :page, :commit, :f_inclusive, :q, :search_field, :op, :action, :index, :sort, :controller, :utf8
my_params = search_state.params_for_search.except :page, :f_inclusive, :q, :search_field, :op, :index, :sort

my_params.except!(*search_fields_for_advanced_search.map { |_key, field_def| field_def[:key] })
end
Expand Down
1 change: 1 addition & 0 deletions lib/blacklight_advanced_search/engine.rb
Expand Up @@ -2,5 +2,6 @@

module BlacklightAdvancedSearch
class Engine < Rails::Engine
require 'jquery-rails'
end
end

0 comments on commit c2b5ff1

Please sign in to comment.