Skip to content

Commit

Permalink
Use search_state for the search_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jan 4, 2016
1 parent e120c98 commit b32b84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/blacklight/search_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def search_results(user_params)
# @return [Blacklight::Solr::Response, Blacklight::SolrDocument] the solr response object and the first document
def fetch(id=nil, extra_controller_params={})
if id.is_a? Array
fetch_many(id, params.to_unsafe_h, extra_controller_params)
fetch_many(id, search_state.to_h, extra_controller_params)
else
fetch_one(id, extra_controller_params)
end
Expand Down

0 comments on commit b32b84e

Please sign in to comment.