Skip to content

Commit

Permalink
Merge 0e0baa2 into 3e479e0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Nov 7, 2018
2 parents 3e479e0 + 0e0baa2 commit eb41c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/blacklight/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def search_facet_path(options = {})

# Returns a list of Searches from the ids in the user's history.
def searches_from_history
session[:history].blank? ? Search.none : Search.where(id: session[:history]).order("updated_at desc")
session[:history].blank? ? ::Search.none : ::Search.where(id: session[:history]).order("updated_at desc")
end

# Should be provided by authentication provider
Expand Down

0 comments on commit eb41c85

Please sign in to comment.