Skip to content

Commit

Permalink
DEPRECATION WARNING: render_search_bar is deprecated and will be remo…
Browse files Browse the repository at this point in the history
…ved from a future release
  • Loading branch information
sandbergja committed Dec 23, 2022
1 parent 3b57acf commit cbc2c9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/shared/_header_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
<nav class="container">
<div class="row">
<div id="search-navbar" class="search-navbar navbar" role="search">
<%= render_search_bar %>
<%= render Blacklight::SearchBarComponent.new(
url: search_action_url,
params: search_state.params_for_search.except(:qt)
) %>
<ul class="search-options">
<li>
<%= link_to 'Advanced Search', blacklight_advanced_search_engine.advanced_search_path, :class=>'advanced_search'%>
Expand Down

0 comments on commit cbc2c9a

Please sign in to comment.