Skip to content

Commit

Permalink
DEPRECATION WARNING: render_search_to_s is deprecated and will be rem…
Browse files Browse the repository at this point in the history
…oved from 8.0
  • Loading branch information
sandbergja committed Jan 6, 2023
1 parent 98a6b1a commit 197edcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/advanced/_advanced_search_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%= form_tag search_catalog_path, :class => 'advanced form-horizontal', :method => :get do %>
<div class="advanced row">
<div class="col-md-7">
<% unless (search_context_str = render_search_to_s(advanced_search_context)).blank? %>
<% unless (search_context_str = render(Blacklight::ConstraintsComponent.for_search_history(search_state:))).blank? %>
<div class="constraints well search_history">
<h4 class="advanced-search-context"><%= t 'blacklight_advanced_search.form.search_context' %></h4>
<%= search_context_str %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= form_tag search_catalog_path, :class => 'advanced form-horizontal', :method => :get do %>
<div class="advanced row">
<% unless (search_context_str = render_search_to_s(advanced_search_context)).blank? %>
<% unless (search_context_str = render(Blacklight::ConstraintsComponent.for_search_history(search_state:))).blank? %>
<div class="constraints well search_history">
<h4 class="advanced-search-context"><%= t 'blacklight_advanced_search.form.search_context' %></h4>
<%= search_context_str %>
Expand Down

0 comments on commit 197edcd

Please sign in to comment.