Skip to content

Commit

Permalink
Restore hidden field tag for advanced search submit (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
alepbloyd authored May 6, 2024
1 parent 4fd6bcd commit 7da05f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/advanced/_advanced_search_submit_btns.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div class="submit-buttons">
<%= link_to t('blacklight_advanced_search.form.start_over'), blacklight_advanced_search_engine.advanced_search_path, :class =>"btn-base gw-ghost-btn advanced-search-start-over" %>

<%= hidden_field_tag(:search_field, blacklight_config.advanced_search[:url_key]) %>

<%= submit_tag t('blacklight_advanced_search.form.search_btn'), :class=>'btn-base gw-btn advanced-search-submit', :id => "advanced-search-submit" %>
</div>

0 comments on commit 7da05f3

Please sign in to comment.